Hi all, I need help with my PICAXE 14m2 flashing flower project. More precisely, the problem is in the setting blinking rate. My first idea was to predefine speeds and switching by pushbutton between them, but then I have got idea to use the potentiometer, but I do not know how to do it with a potentiometer.
A simple piece of code that I use (in the final version will be just more diodes)
start: high B.0
pause?? ; set by the potentiometer
low B.0
high B.1
pause?? ; set by the potentiometer
low B.1
pause?? ; set by the potentiometer
goto start
I'm an amateur, so please do not pester me if it's something simple and for my English, because it is not my native language. Thank you for your time and help.
A simple piece of code that I use (in the final version will be just more diodes)
start: high B.0
pause?? ; set by the potentiometer
low B.0
high B.1
pause?? ; set by the potentiometer
low B.1
pause?? ; set by the potentiometer
goto start
I'm an amateur, so please do not pester me if it's something simple and for my English, because it is not my native language. Thank you for your time and help.