-
• #2
Yes - you can use peek and poke commands to access the ADC directly - just follow the relevant datasheet.
Although if you implemented the functionality in Espruino itself it'd be great (it could be as easy as modifying build_pininfo to include an additional pin that referenced the correct ADC channel).
Yes, I know, there is an issue "Analog read of built-in Voltage Reference" about this, but can I do this "by hand" with javascript at the moment?
Edit: Forgot to mention: STM32 VL Discovery or STM32 F4 Discovery