forked from espressif/arduino-esp32
@ -168,6 +168,8 @@ void ledcAttachPin(uint8_t pin, uint8_t chan)
|
|||||||
.hpoint = 0
|
.hpoint = 0
|
||||||
};
|
};
|
||||||
ledc_channel_config(&ledc_channel);
|
ledc_channel_config(&ledc_channel);
|
||||||
|
|
||||||
|
pinMode(pin,OUTPUT);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ledcDetachPin(uint8_t pin)
|
void ledcDetachPin(uint8_t pin)
|
||||||
|
Reference in New Issue
Block a user