# I2C Scanner

## {{@218#bkmrk-open-iot-and-iiot-ga}}

Link to repositories:

- [C](https://github.com/Redisage/PAC-ESP32/tree/master/C_examples/i2c_scanner)
- [MicroPython](https://github.com/Redisage/ESP32_Open_IoT_and_IIoT_Gateways_examples/tree/master/uPython_examples/i2c_scanner)

### Description

This example scans through the I2C adresses from 0x03 to 0x78 and lists all available devices. It can be used to detect new I2C devices connected to the board.

### Console output

[![image.png](https://doc.redisage.com/uploads/images/gallery/2024-06/scaled-1680-/Ggbimage.png)](https://doc.redisage.com/uploads/images/gallery/2024-06/Ggbimage.png)