ADC: Using of the internal voltage reference

Posted on
  • 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

  • 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).

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

ADC: Using of the internal voltage reference

Posted by Avatar for tickTock @tickTock

Actions