Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hey guys,

I am new to TAG development. Since there aren't many examples relating I2C, can someone please post a simple code that read/write registers via I2C and displays it in the console window. Thanks in advance.

0 Likes
1 Solution

i2c_temperature_sensor.c has the simplest implementation, follow temperature_sensor_read_and_print_temperature_data() and it does exactly this - reads the current temperature from the sensor and then writes it out as a debug trace.

View solution in original post

4 Replies