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 :(((
#Push button not working
4 messages · Page 1 of 1 (latest)