// void analogSetPinAttenuation(uint8_t pin, adc_attenuation_t attenuation); // private const int ANALOG_SET_PIN_ATTENUATION = 207; public void analogSetPinAttenuation(int pin, AdcAttenuation adcAttenuation) { GpioCommand(ANALOG_SET_PIN_ATTENUATION, pin, (int)adcAttenuation); }
// void analogSetAttenuation(adc_attenuation_t attenuation); // private const int ANALOG_SET_ATTENUATION = 206; public void analogSetAttenuation(AdcAttenuation attenuation) { GpioCommand(ANALOG_SET_ATTENUATION, (int)attenuation, 0); }