|
Light programming
Hi,
We just got the light and I hooked it on to a relay. It workd fine. I hooked it on to relay 3, which is assigned to p3_sw_trig and p3_sw_top, but we have a little problem.
The light is on untill I keep pressing the button, but I wanna do something else. I want to hit the top button once on joystick3 and have the light turn on. I mean I should have to hold down the button to keep the light running. And when I wanna turn the light off, I should be able to do it by hitting the trigger button once on joystick3.
Can anyone tell me the exact code I can insert to do this. I need it urgently.
Thanx
|