mirror of
https://github.com/taubel/sdk-ameba-v4.0b-gcc.git
synced 2026-07-06 03:15:42 +00:00
14 lines
296 B
Text
14 lines
296 B
Text
Example Description
|
|
|
|
This example describes how to use i2c by using mbed api
|
|
|
|
1.Connect LOG-UART connector to PC
|
|
|
|
2.Connect
|
|
- I2C0 SDA (PA_19) to I2C1 SDA (PA_23) pin.
|
|
- I2C0 SCL (PA_22) to I2C1 SCL (PA_18) pin.
|
|
|
|
3.Run the main function.
|
|
|
|
4.Get the Master and Slave Data.
|
|
|