open-ameba/sdk/example_sources/i2c
Drasko DRASKOVIC eeb7f808ae Change SDK dir name. Use OpenOCD only.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2017-05-14 18:47:13 +02:00
..
src Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00
readme.txt Change SDK dir name. Use OpenOCD only. 2017-05-14 18:47:13 +02:00

Example Description

This example describes how to use i2c by using mbed api

1.Connect LOG-UART connector to PC
  
2.Connect 
  - I2C3 SDA (PB_3) to I2C1 SDA (PC_4) pin,
  - I2C3 SCL (PB_2) to I2C1 SCL (PC_5) pin.
  
3.Run the main function.

4.Get the Master and Slave Data.