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

ADC AnalogRead() not working with Heltec LoRa Node L151 (L151CCU6) #3

Open
gbraux opened this issue Feb 4, 2021 · 2 comments
Open

Comments

@gbraux
Copy link

gbraux commented Feb 4, 2021

Hi,

Scratching my head since a few hours ... Has anybody tried to do some analogRead() with the L151CCU6 variant (LoRa Node L151) ? Getting zero, zero and always zero ;-) And I confirm I have 3.3 voltage on the ADC pins ...

Code spinet as easy as :

uint32_t batteryVoltage= analogRead(PB_3);

Thx,
Guillaume.

@fthiebolt
Copy link
Owner

Bonjour Guillaume,

I think you should have a look to the variant files themselves to check ADC has been enabled.
On our side, we switched to CubeCell versions so i won't have a chance to test on this board.

Good luck!

@fthiebolt
Copy link
Owner

additionally, this board has now support in the Heltec CubeCell serie :)

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

2 participants