#Push button not working

4 messages · Page 1 of 1 (latest)

mystic moth
#

Hi I'm using C++ in Arduino. I was tweaking this code online and so far it was doing alright. The idea was if the PIR Sensor is HIGH, the LED and buzzer will turn on. I want it to still be on even when the PIR sensor doesn't detect anything anymore. It can oly turn off if I click the push button. But when I added the push button, the LED wouldn't turn on and the system wasn't turning off even when I clicked the push button. Please help, our project is soon :(((

https://tinyurl.com/mv3cfxz7

mystic moth
#

oops lower rail not connected

#

sorry guys

runic lavaBOT
#

ℹ️ @mystic moth this post has been closed. Feel free to reopen it if you have any further questions.