m5stack / M5Core2

M5Core2 Arduino Library
MIT License
262 stars 113 forks source link

I2C Sensor doesn't work on PortA on Core2 AWS #125

Open Enosisvr opened 1 year ago

Enosisvr commented 1 year ago

Hello, I am using this lib and example: https://github.com/m5stack/M5-DLight/blob/master/examples/Unit_DLight_M5Core2/Unit_DLight_M5Core2.ino The reading is always 65535, and seems like the I2C port doesn't initiate! Do I have to specify opening the I2C port at M5.begin(), include a wire.begin or specify something on sensor.begin() I connected the sensor on a general Arduino board and was reading the data so it is definitely something with the Core2 not reading the I2C portA Would love some help!