Connect your Qwiic device to one of the available Qwiic connectors on the Kumquat. Ensure that the connections are secure and that the device is powered properly.
## Checking for Connected Devices
Use the `i2cdetect` command to scan the I2C bus for connected devices. Replace `0` with the appropriate bus number if your I2C bus is different.
```sh
sudo i2cdetect -y 0
```
This command will display a grid showing the addresses of connected devices. The device address will be shown as a number if it is detected.
## Reading Data from the Device
Once the device is detected, you can use the `i2cget` command to read data from specific registers of the device. Replace `<device-address>` and `<register-address>` with the appropriate values for your device.
This command will read a byte of data from the specified register of the device and display it in hexadecimal format.
## Writing Data to the Device
You can use the `i2cset` command to write data to specific registers of the device. Replace `<device-address>`, `<register-address>`, and `<data>` with the appropriate values for your device.