7 years, 3 months ago.

I2C Example for FRDM-K22F

Hi Experts,

I am new to mbed . I have one FRDM-K22F board. I want to connect a temperature sensor to this hardware over I2C and temperature values. Can you please guide me with reference code.

Regards Sandeep S

There are two ways to start for I2C: 1. Open online compiler, import => search "I2C", a I2C relevant sample list return; Double click to add into compiler. 2. Reference the API document: https://docs.mbed.com/docs/mbed-os-api-reference/en/latest/APIs/interfaces/digital/I2C/

posted by terence zhang 12 Jan 2017
Be the first to answer this question.