Hi all,
I recently bought led pinkers for my motorcycle, but now they flash to fast because of the resistance. So i tought to make a controller for it myself, and also add a 4 warning lights function.
I want to control it with no extra switches, just the original left/right "tumble" switch.
so i have 2 inputs: left and right switch
and 2 outputs: led's led's on the left and on the right
the code for left and right blinking is allready ok, but for the 4 warning lights i can't get the code right.
i want them to work when i do: left right left right within 2 seconds for example.
I have a Picaxe 08M.
Can someone please help me with the code?
Sorry for my english, but i'm a dutch guy.
I recently bought led pinkers for my motorcycle, but now they flash to fast because of the resistance. So i tought to make a controller for it myself, and also add a 4 warning lights function.
I want to control it with no extra switches, just the original left/right "tumble" switch.
so i have 2 inputs: left and right switch
and 2 outputs: led's led's on the left and on the right
the code for left and right blinking is allready ok, but for the 4 warning lights i can't get the code right.
i want them to work when i do: left right left right within 2 seconds for example.
I have a Picaxe 08M.
Can someone please help me with the code?
Sorry for my english, but i'm a dutch guy.
Attachments
-
512 bytes Views: 26
Last edited: