-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
- Type: Question
I am running an example with AnalogIn API to read external voltage (with P0_16 or any analog pin) on my custom lpc54606 board. The program hangs because ADC_GetChannelConversionResult
is returning false.
mbed-os sha:
df88a9d
Question
Can anyone confirm the example is working on LPC54608?
#include "mbed.h"
AnalogIn ain(P0_16);
int main(void)
{
while (1) {
ain.read();
wait(1);
}
}