The I2C (Inter-Integrated Circuit) protocol is a widely used communication protocol for data transmission between microcontrollers and other integrated circuits. It is preferred in applications requiring low-speed data transmission, especially for communication with sensors, memory modules, and other peripheral devices. The Gemstone development board has one I2C (I2C1) output on its 40-pin header. External I2C devices can be connected via these pins. Additionally, the Gemstone includes an ICM-20948 9-axis MEMS sensor and an HDC2010 temperature and humidity sensor, both communicating via I2C.Documentation Index
Fetch the complete documentation index at: https://docs.t3gemstone.org/llms.txt
Use this file to discover all available pages before exploring further.

Using I2C
After connecting to the Gemstone operating system, install thei2c-tools package to write and read data
from I2C addresses.
ls /dev/i2c-* command.
To view the addresses of devices connected to the i2c-2 bus, run the following command:
In the output above,
UU indicates that an I2C device is present at that address and is being used by
the system. 40 indicates that a device is present at that address. For example, while reading and writing
operations cannot be performed at address 0x30, they can be performed at address 0x40.0x00 of the device connected to address 0x40 on the i2c-2 bus,
run the following command:
0x80 to address 0x07 of the device connected to address 0x40 on the i2c-2 bus, run
the following command:

