So I thought I had the code working but Ive got a huge problem.
If I hold the button down the led still turns on and I really dont know what to do anymore.
The led should only turn on AFTER I release the button, and 3 seconds have passed, and everytime I oush the button within the span of less than 3 seconds continously, then release for 3 seconds the led should light up as many times as I clicked the button.
This is the wowki: State_Change_Detection Copy - Wokwi ESP32, STM32, Arduino Simulator
And this is what Ive got in proteus:
Also when I start the simulation in proteus the led lights up one time before any input, like it just does it one time without any action from the nutton
7 posts - 5 participants