Skip to content

Add internal ADC channels (REF, TEMP, BAT) #474

Closed
@karstengit

Description

@karstengit

It's perfect that the normal Arduino way of reading an ADC is working.

But it is not working to read the internal temperature sensor.
For example this is not working:
ADCValue = analogRead(ADC_CHANNEL_TEMPSENSOR);
but i found the value ADC_CHANNEL_TEMPSENSOR defined in stm32f1xx_hal_adc.h.

Is there an alternative way?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions