For the connection with our Raspberry Pi, we just have to connect it to the main connectors, I2C1_SDA and I2C1_SCL, as shown in this pin diagram:
The Wii Nunchuck contains a controller that communicates through the i2c bus. In order to know where to store bytes written to it, the first byte must be an 8-bit register address. In other words, each
write() operation to the Nunchuck requires one register address byte, followed by data bytes.
For a write operation, the first byte sent to the Nunchuck tells it where to start (the START condition).
The Nunchuck is designed to provide a specific ...