Quote Originally Posted by rlmack35 View Post
simple test program

TEST:
HIGH PORTB.1
PAUSE 1000
LOW PORTB.1
PAUSE 1000
GOTO TEST

The light should turn on and off in 1 sec intervals.
That works but personally I like to increase the time if you are doing a visual on/off led measurement, if you measure on/off cycles over a period of say one or two minutes you can average a more precise result. That is just me though.