Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/24/03 19:27
Read: times


 
#37153 - RE: Simple LED Test Program
You need to load a timer reload value.
Nah, the initial 0 is good, gives 256 counts Even though the port pin is swinging up and down (and I assume it is properly connected to light the LED), the LED will appear to be lit steady if the pin is toggling at too high of speed.Yes, change "counter" from char to int.

Erik

PS
counter = 0;
serves no purpose

List of 15 messages in thread
TopicAuthorDate
Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program - Success            01/01/70 00:00      
RE: Simple LED Test Program - Success            01/01/70 00:00      
RE: Simple LED Test Program - Success            01/01/70 00:00      
RE: Simple LED Test Program - Success            01/01/70 00:00      
RE: Simple LED Test Program - Success            01/01/70 00:00      
RE: Simple LED Test Program - Success-            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      
RE: Simple LED Test Program            01/01/70 00:00      

Back to Subject List