adjustable flash rate

69-cat

Member
I made some controllers for my Halloween props and they work great. I made up some 10 watt LED strobes but wanted to know how can I make the off cycle adjustable using a pot.

main:
high c.1
pause 20
low c.1
pause 100
goto main


Thanks
Dave
 

Technical

Technical Support
Staff member
main:
readadc X.X,b1 ; where X.X = pin the pot is connected to
high c.1
pause 20
low c.1
pause b1
goto main
 

premelec

Senior Member
You might throw in a RANDOM function too - and possibly accelerating rate Nx loop for effect... have fun!
 
Top