Is the posted code all of it? Did you do any configuring? Not sure you need to, just trying to see where to start looking in the datasheet to be able to answer. In the mean time, here is a quick easy test for if the speed is correct:
Of course you still need all setup stuff like define osc and such, but if the speed is correct you should get a blink at 60 hz.Code:main: toggle "some output with an LED connected" pause 500 goto main
Bookmarks