Hi,
Could be a timing problem. Write a program to verify your configuration settings.
With the code below you should see the light of the LED 60 times in 1 minute.
Just count and check your watch. (The LED is ON for 500 ms and OFF for 500 ms).
Best regards,
Luciano
Code:
Low PORTB.0 ' Turn off LED connected to PORTB.0
loop: Toggle PORTB.0 ' Toggle the LED connected to PORTB.0
Pause 500 ' Delay for 500 milliseconds
Goto loop ' Go back to loop and blink LED forever
End
(Connection schematic, see the LED and the 470 ohm resistor)
Bookmarks