Hi all,
Im building a small rev limit or shift light for my race car. I'm still trying to get my head round this programming although my electronic skills are good.
This is still work in progress but im stuck to add extra leds to the circuit in a progressive mode.
im using a 18m2 on my axe091 board.
my current code for one light:
main:
pulsin c.1,1,w1
if w1<450 then led
goto main
led:
high b.4
pause 100
low b.4
goto main
this puts the led on at around 115 hz but the lamp flickers as it comes on and i would like to add 2 or 3 extra leds to give a progressive light bar...
I cant think what other instructions i could use to perform this simple task, anyone got any ideas??
Im building a small rev limit or shift light for my race car. I'm still trying to get my head round this programming although my electronic skills are good.
This is still work in progress but im stuck to add extra leds to the circuit in a progressive mode.
im using a 18m2 on my axe091 board.
my current code for one light:
main:
pulsin c.1,1,w1
if w1<450 then led
goto main
led:
high b.4
pause 100
low b.4
goto main
this puts the led on at around 115 hz but the lamp flickers as it comes on and i would like to add 2 or 3 extra leds to give a progressive light bar...
I cant think what other instructions i could use to perform this simple task, anyone got any ideas??