Darrel,
Yes, I have read that post. I changed the prescaler and it does work but it's not what I am looking for because it only made the LED blink faster, not slower. I guess I was trying to solve my problem more simply. When using the HPWM command, the code is one line and as you know looks like this:
hpwm 1, 1000,1000
but when using the hpwm command, the control of the LED is more of a dimming function because it's just too fast for the naked eye see.
In my current program within the main loop, I am using a pause 1 command and counting to 1000 and then toggling the LED. I guess I was just hoping that there was a 1 line command when you can say "I want to blink the LED every 2 seconds" or something like that.
Chris




Bookmarks