Search found 1 match
- Sat Apr 03, 2021 5:54 am
- Forum: ESP-IDF
- Topic: LEDC and PCNT on same GPIO
- Replies: 5
- Views: 5940
Re: LEDC and PCNT on same GPIO
Hi, thanks for the hint! I finally got it working. The trick is to set the GPIO, as you suggested, to GPIO_MODE_INPUT_OUTPUT. But I also had to setup the GPIO matrix again for the LEDC functionality which was probably lost when LEDC was first configured on the GPIO, but then PCNT was configured on ...