Pico-Arduino
|
Pin Initialization for ADC. More...
#include <PicoPinFunction.h>
Public Member Functions | |
bool | adcSelect (int adc) |
select the ADC if it has been changed | |
bool | initADC () |
calls adc_init() if necessary - returns true if it has been intialized (the first time) | |
virtual void | setupPin (PinInfo *info, pin_size_t pinNumber) |
virtual bool | usePin (PinInfo *info, pin_size_t pinNumber) |
Static Public Member Functions | |
static PinSetupADC & | instance () |
Protected Attributes | |
bool | adc_init_flag = false |
int | current_adc |
Pin Initialization for ADC.