![](/media/cache/profiles/nikki.png.50x50_q85.jpg)
I2C_2 bus scanner for STM32L476RG.
Diff: main.cpp
- Revision:
- 2:e90c47d4f358
- Parent:
- 1:2363995f603f
- Child:
- 3:8def8fb70765
diff -r 2363995f603f -r e90c47d4f358 main.cpp --- a/main.cpp Sun Mar 20 23:48:48 2016 +0000 +++ b/main.cpp Sun Mar 20 23:51:00 2016 +0000 @@ -1,10 +1,15 @@ /* Scan I2C bus on specified pins and prints out -* the address of all pins where a active responder +* the all address where a active responder * is found. * * By Joe Elsworth CTO of A2WH * Free use for al but no warranty, no promises. -* Don't forget 3K pullup sda,scl */ +* Don't forget 3K pullup sda,scl +* +* I tested this by soldering in a I2C chip known to respond at +* address dec=120 hex=70 and the utility got the ack as expected. +* when the chip was de-soldered it was no longer detected. +*/ #include "mbed.h"