<feed xmlns='http://www.w3.org/2005/Atom'>
<title>librambutan/CREDITS, branch legacy</title>
<subtitle>[no description]</subtitle>
<id>https://git.bnewbold.net/librambutan/atom?h=legacy</id>
<link rel='self' href='https://git.bnewbold.net/librambutan/atom?h=legacy'/>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/'/>
<updated>2015-05-28T07:25:36+00:00</updated>
<entry>
<title>superficial librambutan rebranding</title>
<updated>2015-05-28T07:25:36+00:00</updated>
<author>
<name>bnewbold</name>
<email>bnewbold@robocracy.org</email>
</author>
<published>2015-05-28T07:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=71ef6f46a797f739bf140df934f137d92d791abc'/>
<id>urn:sha1:71ef6f46a797f739bf140df934f137d92d791abc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "- tx and rx callbacks for each module"</title>
<updated>2014-01-10T20:17:12+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2014-01-10T20:17:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=424fff7a7613e9d27c1f4e4e13955dd95faa2112'/>
<id>urn:sha1:424fff7a7613e9d27c1f4e4e13955dd95faa2112</id>
<content type='text'>
This reverts commit da01c80f24dc9c43ff951ea9fd283abb4628ceb7.

Reverting pull request #54, which breaks examples/i2c-mcp4725-dac.cpp.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Revert "Added I2C slave echo example in examples folder. Using another maple, write a byte and then read."</title>
<updated>2014-01-10T20:15:26+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2014-01-10T20:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=3400e7bec16a9a7c80b52b304da2311cb3932ded'/>
<id>urn:sha1:3400e7bec16a9a7c80b52b304da2311cb3932ded</id>
<content type='text'>
This reverts commit 594724951553a882758c11497a4f03828b4f43e6.

Reverting pull request #54, which breaks examples/i2c-mcp4725-dac.cpp.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Added I2C slave echo example in examples folder. Using another maple, write a byte and then read.</title>
<updated>2012-09-04T23:08:10+00:00</updated>
<author>
<name>Barry Carter</name>
<email>barry.carter@robotfuzz.com</email>
</author>
<published>2012-09-04T23:08:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=0d8f8210e5decb4870f77b5cd0e5325cb803a3af'/>
<id>urn:sha1:0d8f8210e5decb4870f77b5cd0e5325cb803a3af</id>
<content type='text'>
Slight tidy up.
Reformatted CREDITS file to be in correct order.
Added a note about buffer overrun

Signed-off-by:- Barry Carter &lt;barry.carter@gmail.com&gt;
</content>
</entry>
<entry>
<title>- tx and rx callbacks for each module</title>
<updated>2012-09-03T16:45:58+00:00</updated>
<author>
<name>Barry Carter</name>
<email>barry.carter@robotfuzz.com</email>
</author>
<published>2012-09-03T16:45:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=ef5c4b9f30da2f4b9a0edd4231e95b3ef8a88d43'/>
<id>urn:sha1:ef5c4b9f30da2f4b9a0edd4231e95b3ef8a88d43</id>
<content type='text'>
 - Callbacks can be called after each read/write cycle or per byte
 - Each I2C module can have different callbacks
 - General call support also working
 - Supports master and slave at same time. Also works with multimaster

Usage:

i2c_msg msg;
char buffer[255];

main()
{
    i2c_slave_enable(I2C1, I2C_FAST_MODE | I2C_SLAVE_DUAL_ADDRESS | I2C_SLAVE_GENERAL_CALL | I2C_SLAVE_USE_RX_BUFFER); // init slave mode. Enables master too
    i2c_slave_attach_recv_handler(I2C1, pmsg, funcrx); // attach  receive handler
    i2c_slave_attach_transmit_handler(I2C1, pmsg, functx);   // attach transmit handler
    i2c_slave_set_own_address(I2C1, 0x10);    // set addresss 1
    i2c_slave_set_own_address2(I2C1, 0x20);   // set addresss 2
}

void funcrx(i2c_msg *msg)
{
    printf("length is %d.\n", msg-&gt;length);
    char return_data = msg0&gt;data[0];
}

void functx(i2c_msg *dev)
{
    msg-&gt;data[0] = 0x01;
    msg-&gt;data[1] = 0x02;
    msg-&gt;data[2] = 0x03;
    msg-&gt;data[3] = 0x04;
    msg-&gt;data[4] = 0x05;
    msg-&gt;length = 5;
}

All code derived from datasheets and libmaple.
Signed-off-by:- Barry Carter &lt;barry.carter@gmail.com&gt;
</content>
</entry>
<entry>
<title>CREDITS: sort names alphabetically.</title>
<updated>2012-06-29T16:42:30+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-29T16:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=07e49b42ff9ac9d6f4b44750dca116443a428c17'/>
<id>urn:sha1:07e49b42ff9ac9d6f4b44750dca116443a428c17</id>
<content type='text'>
Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Add new hard/soft Wire I2C library.</title>
<updated>2012-06-29T16:31:20+00:00</updated>
<author>
<name>Trystan Jones</name>
<email>crenn6977@gmail.com</email>
</author>
<published>2012-06-29T06:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca'/>
<id>urn:sha1:ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca</id>
<content type='text'>
Added a generic pure abstract class to provide the interface for all
Wire implementations.  Modified the old Wire library using software
interface to use the new Base Wire abstract class.  Added a new
library which allows the use of the Wire class to use the I2C
hardware.  Changed default pin numbers for Software Wire library to
match pin numbers used for I2C/TWI shields created for the Arduino.

Signed-off-by: Trystan Jones &lt;crenn6977@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add CREDITS file.</title>
<updated>2012-06-28T17:14:52+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-28T17:14:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bnewbold.net/librambutan/commit/?id=0a6171402cfff5bf437a18f6fae32fbc0afe3980'/>
<id>urn:sha1:0a6171402cfff5bf437a18f6fae32fbc0afe3980</id>
<content type='text'>
It's about time. This initial file is based on the output of

$ git log | grep Author | sort | uniq

It leaves out credit for patches that were later reverted or moved out
of libmaple. It also doesn't credit the many patches and other
bugfixes from users who've e.g. written in the forum describing their
changes, but didn't submit actual patches. Names aren't always
available in cases like those, but if the contributors come forward,
we'd be happy to add them.

Add note in HACKING about adding yourself to CREDITS.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
</feed>
