Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Enosisvr opened this issue Mar 23, 2023 · 0 comments
Open

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

Enosisvr opened this issue Mar 23, 2023 · 0 comments

Comments

@Enosisvr
Copy link

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!

@Enosisvr Enosisvr changed the title DLight sensor doesn't work on PortA on Core2 AWS Sensor doesn't work on PortA on Core2 AWS Mar 23, 2023
@Enosisvr Enosisvr changed the title Sensor doesn't work on PortA on Core2 AWS I2C Sensor doesn't work on PortA on Core2 AWS Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant