Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15287

It shouldn't light up as I push the button down

$
0
0

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:
imagen_2024-04-22_153704937

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

Read full topic


Viewing all articles
Browse latest Browse all 15287

Trending Articles