ESP32 Pins behavior
Posted: Sat Mar 22, 2025 3:54 pm
Hi, I have a personal project using 3 PWM of different frequency. Everything working but I would like to know if it's possible to do this:
In my project, 3 frequencies are using but if frequency 1/2 are ON, event if 3 is ON it should be OFF, instead of handling this with NAND/FLIPFLOP IC I would like to know if it's possible to handle it by software with some kind of trick to be able to do the same thing.
Is there are some way to PROGRAM how a PIN can go ON or OFF while using the hardware PWM at the same time.
The frequency can go relatively high so i cannot handle it manually with 100% software (max +-33khz right now).
My project is finished but wanted to eliminate components if they are not really needed!
Thank you for your help!
In my project, 3 frequencies are using but if frequency 1/2 are ON, event if 3 is ON it should be OFF, instead of handling this with NAND/FLIPFLOP IC I would like to know if it's possible to handle it by software with some kind of trick to be able to do the same thing.
Is there are some way to PROGRAM how a PIN can go ON or OFF while using the hardware PWM at the same time.
The frequency can go relatively high so i cannot handle it manually with 100% software (max +-33khz right now).
My project is finished but wanted to eliminate components if they are not really needed!
Thank you for your help!