I2C address scanner - Scans I2C bus on specified pins and prints all addresses where a active responder is found.

Dependencies:   mbed

Find address for I2C device

Scans all addreses on a I2C bus and reports those it is able to sucessfully communicate with.

One problem with I2C is that sometimes we receive chips without proper documentation and can not determine what address we should use ot communicate with that chip. This library seeks to identify the chips by attempting to communicate with each address and if it suceeds it assumes there is a chip present.

I have tested this with a clock chip, temperature sensor, OLED device and FRAM chip. It worked for all of them but there is a chance that some chips will not respond without a specific API call so there may be some chips it could not locate.

History

Update to use standard MIT license default tip

2016-03-30, by joeata2wh [Wed, 30 Mar 2016 14:58:05 +0000] rev 8

Update to use standard MIT license


test

2016-03-20, by joe ellsworth [Sun, 20 Mar 2016 21:39:52 -0700] rev 7

test


updated comments

2016-03-21, by joeata2wh [Mon, 21 Mar 2016 04:17:13 +0000] rev 6

updated comments


removed obsolete diagnostic line

2016-03-21, by joeata2wh [Mon, 21 Mar 2016 04:09:15 +0000] rev 5

removed obsolete diagnostic line


working

2016-03-21, by joeata2wh [Mon, 21 Mar 2016 04:06:14 +0000] rev 4

working


fix type error

2016-03-21, by joeata2wh [Mon, 21 Mar 2016 02:31:19 +0000] rev 3

fix type error


updated comment

2016-03-20, by joeata2wh [Sun, 20 Mar 2016 23:51:00 +0000] rev 2

updated comment


working version

2016-03-20, by joeata2wh [Sun, 20 Mar 2016 23:48:48 +0000] rev 1

working version


initial version

2016-03-20, by joeata2wh [Sun, 20 Mar 2016 23:28:31 +0000] rev 0

initial version