Troubleshoot I2C bus issues with the AS5600 sensor and SSD1306 OLED. TRIGGER when the user reports I2C errors, display not working, sensor not reading, or garbled data.
Systematic checklist for I2C problems on the ESP32 with AS5600 + SSD1306 OLED.
| Address | Device | Purpose |
|---|---|---|
| 0x36 | AS5600 | Rudder angle sensor |
| 0x3C | SSD1306 | OLED display |
Both share GPIO 21 (SDA) and GPIO 22 (SCL). No external pull-ups needed — both modules have built-in pull-ups.
Ask the user and work through these in order:
i2cWriteReadNonStop returned Error 263 — I2C NACK, device not responding
at that address. Check power and wiring.