Open gbraux opened 3 years ago
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!
additionally, this board has now support in the Heltec CubeCell serie :)
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.