I'm trying to connect the light sensor to lilygo and see if there is anything displayed but there is an error declared that I2C cannot be detected. I connected the SCL and SDA to Lilygo gpio 43 and 44, I don't know what is the problem since I run a simple code like hello world! there is an output at the serial monitor using the lilygo esp.
Run an I2C scanner sketch to check if your light sensor's address is being detected.
Hi thanks for replying I have done that, and it said no devices found but when I connected the sensor with esp32-wroom 32 the sensor works normally. It's a pretty new device, the lilygo, I just got it, so can the i2c be broken already?
ESP32-S3_Pin_Reference states
Do Not Use (generally)
- gpio.19 Used for native USB D-*
- gpio.20 Used for native USB D+*
- gpio.43 Used for USB/Serial U0TXD*
- gpio.44 Used for USB Serial U0RXD*
try different pins?