Search found 2 matches
- Sat Dec 18, 2021 6:58 pm
- Forum: General Discussion and Questions
- Topic: Why cant I escape this function?
- Replies: 3
- Views: 8083
Why cant I escape this function?
This function is called from an interrupt on a rising edge of a toggle switch. When the function is called, it confirms it has been called by printing "accept". It then waits for another input to go high for a few seconds (from a push button). If this happens, a traincoming led goes high. The proble...
- Sat May 22, 2021 3:45 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: help required for a newbie
- Replies: 1
- Views: 3864
help required for a newbie
Can anyone see why the led "led_coming" illuminates before the timer reaches 450? I am new to this and I cant see why it switches on when there appears to be no instruction to do it. Once adjbell and commutator go high, the normal led should stay on until the timer reaches 450 then it is supposed to...