![](/media/cache/profiles/nikki.png.50x50_q85.jpg)
I2C_2 bus scanner for STM32L476RG.
Diff: main.cpp
- Revision:
- 1:2363995f603f
- Parent:
- 0:befb557584fb
- Child:
- 2:e90c47d4f358
diff -r befb557584fb -r 2363995f603f main.cpp --- a/main.cpp Sun Mar 20 23:28:31 2016 +0000 +++ b/main.cpp Sun Mar 20 23:48:48 2016 +0000 @@ -11,7 +11,7 @@ Serial pc(USBTX, USBRX); - #define D_SDA PB_7 // specific for Nucleo-F303K8 + #define D_SDA PB_7 #define D_SCL PB_6 // sda=PB7, scl=PB_6 Pins specific to Nucleo-F303K8 // must change pins to match your board.