12 if(APin== 25 ||APin==26){
13 dacWrite(APin, AValue);
18 if ((chan != NULL) && chan->
attached()) {
21 pinMode(APin, OUTPUT);
23 digitalWrite(APin, 0);
24 }
else if (AValue >= 255) {
25 if ((chan != NULL) && chan->
attached()) {
28 pinMode(APin, OUTPUT);
30 digitalWrite(APin, 1);
ESP32PWM * pwmFactory(int pin)
void analogWrite(uint8_t APin, uint16_t AValue)
void attachPin(uint8_t pin)
void write(uint32_t duty)