PDA

View Full Version : very simple loop question



docwisdom
- 25th January 2006, 03:55
hey there,
I have a variable that is 3 digits, I already used dig to separate them into 3 separate variables, I would then like for the value of those variables to blink to an led. I have portd.2 set up with an led.

how would you recommend writing the loop to blink the led for the value of the variable?


thanks
-brian

Ioannis
- 25th January 2006, 06:45
What is the format of your variable (the initial)?

If it is a word variable use a simple if - then command

Ioannis