Arduino_STM32/STM32F1/libraries/STM32ADC/examples/SingleChannelContinuousConv.../SingleChannelContinuousConv...

18 lines
208 B
C++

/*
This example shows how to use the ADC library to continuously sample
one channel/pin.
*/
#include <STM32ADC.h>
ADC myAdc(ADC1);
void setup() {
Serial.begin(19200);
}
void loop(){
}; //end loop