<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: LSM303DLH with maple r5</title>
		<link>http://forums.leaflabs.com/topic.php?id=1032</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:26:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1032" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6422</link>
			<pubDate>Tue, 20 Sep 2011 12:14:48 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">6422@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;the soft wire library does not support clock stretching, perhaps that is the problem. Is there any way for you to move the pins to I2C1, or is that fixed by a shield or something?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>warzon on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6353</link>
			<pubDate>Thu, 15 Sep 2011 04:33:55 +0000</pubDate>
			<dc:creator>warzon</dc:creator>
			<guid isPermaLink="false">6353@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;For the first time I used Wire library that comes from git clone git://github.com/leaflabs/libmaple.git libmaple. After your post i tried your version,&#60;br /&#62;
but it does not help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6343</link>
			<pubDate>Wed, 14 Sep 2011 09:50:27 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">6343@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Which Wire Library are you using? The one that comes with the IDE, or my implementation that includes support for Hardware I2C?&#60;/p&#62;
&#60;p&#62;I know that I can pull data off an ADXL345 without any issues with my implementation. I'll look into it more in the morning.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>warzon on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6340</link>
			<pubDate>Tue, 13 Sep 2011 23:54:49 +0000</pubDate>
			<dc:creator>warzon</dc:creator>
			<guid isPermaLink="false">6340@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;crenn -&#60;br /&#62;
It's not working. Function TwoWire::available() always zero and while(Wire.available() &#38;lt; 6) never ending. Maybe it's not correct, i don't know. I will try to use more low level i2c.&#60;/p&#62;
&#60;p&#62;poslathian -&#60;br /&#62;
On my board I2C1- sda: 9 , scl: 5; I2C2 - sda: 29, scl: 30; Pins 0 and 1 is RX2 and TX2.&#60;/p&#62;
&#60;p&#62;I know about low level api for i2c, but i'm only want to save time. Not writing another peace of software already written.&#60;br /&#62;
It's strange, why i can't use library? If functions in class TwoWire working as functions in the same class in Arduino, all classes that uses TwoWire must work! If these classes are not equal, then you must change name of your TwoWire class to some other name. Because it's leads to great misunderstanding.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6326</link>
			<pubDate>Tue, 13 Sep 2011 10:38:08 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">6326@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;warzon,&#60;br /&#62;
  While the Wire library *should* be working, you might like to use the lower level hardware i2c library. This is the libmaple native way of doing i2c, as opposed to Arduino's c++ Wirish way. &#60;/p&#62;
&#60;p&#62;Here is an example of a sketch that initializes and reads from an ADXL345 accelerometer over i2c. Please note that because this uses the i2c hardware, you MUST use one of the i2c banks. On Maple r5 these are I2C1 or I2C2. In the sketch I am using I2C2 which is pins 0 and 1.  &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/tRpjwNxM&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/tRpjwNxM&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>warzon on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6325</link>
			<pubDate>Tue, 13 Sep 2011 09:19:18 +0000</pubDate>
			<dc:creator>warzon</dc:creator>
			<guid isPermaLink="false">6325@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Great Thanks! Forget to wrote that i use breakout board from pololu with shifted levels. It's working with arduino mega perfectly. Your information is very important and i hope that it helps.&#60;br /&#62;
I don't use IDE's and compile my code in terminal, it's more comfortable for me.&#60;br /&#62;
I'll write tomorrow about my experience.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6317</link>
			<pubDate>Tue, 13 Sep 2011 05:59:14 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">6317@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The IO of the LSM303DLH is 1.8v is not 3.3v tolerant, although I do believe the maple when using I2C sets the pins to open drain which means this isn't an issue. The Wire library included with the Maple IDE is software based, and uses pins 20 (SDA) and 21 (SCL). To use the hardware I2C, use this Wire implementation for the time being with MapleIDE v0.0.11: &#60;a href=&#34;http://www.crennsmind.com/Code/Maple/Wire-Snapshot-110913.zip&#34; rel=&#34;nofollow&#34;&#62;http://www.crennsmind.com/Code/Maple/Wire-Snapshot-110913.zip&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>warzon on "LSM303DLH with maple r5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1032#post-6316</link>
			<pubDate>Tue, 13 Sep 2011 02:22:15 +0000</pubDate>
			<dc:creator>warzon</dc:creator>
			<guid isPermaLink="false">6316@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;I want to use LSM303DLH digital compass in my project. I've connected it to my maple&#60;br /&#62;
r5 board directly with sda 9 and scl 5 ( i tried with or withour resistors ). And found in your source code Wire library. This compass has support for Arduino (&#60;a href=&#34;https://github.com/ryantm/LSM303DLH&#34; rel=&#34;nofollow&#34;&#62;https://github.com/ryantm/LSM303DLH&#60;/a&#62;) , that also uses Wire (i mean in arduino). And it seams to me that code must transparently work on maple. But it did not.&#60;br /&#62;
I will be very pleased if you help me solve this problem.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
