Try adding ...Which gives you back the TRIS bit so you can change GP2 to output.Code:OPTION_REG.5 = 0 ; T0CS internal
Try adding ...Which gives you back the TRIS bit so you can change GP2 to output.Code:OPTION_REG.5 = 0 ; T0CS internal
DT
Nothing changed but thanks anyway!
Update:
Sorry for this silly bothering - I managed to get it running. Seems that the problem was caused by forgetting to comment out config line in the picbabsic include file. But still I am not sure if that was the real problem, because I also initially modified the default include file to use internal RC and to convert MCLR to input but it didn't work. This stays a mystery.
Last edited by madphys; - 31st January 2010 at 10:07.
Bookmarks