Hi all, wondering if you could help me out. I am trying to add a "chirp/beep" on door lock to my car. What I am doing is using an 08M to detect the flashing of the parking lights. The lights flash once upon locking. I figure the easiest way to do this using an AXE is to use PULSIN and detect the flashing only when the engine is in off state. For the off state, I am just going to power the picaxe using a time decaying cap/res circuit and have it active for say 30 seconds after the ACC is turned off.
I was wondering if someone could provide some example code about the PULSIN though. Not sure if I could just use it in a loop to keep on detecting input or maybe use an interrupt? Thanks in advance.
I was wondering if someone could provide some example code about the PULSIN though. Not sure if I could just use it in a loop to keep on detecting input or maybe use an interrupt? Thanks in advance.