Sorry, I found my problem after sleeping on it.

OSCCONbits.PLLEN=1;     -->     OSCTUNEbits.PLLEN=1;

and do not place these above the int, char etc... type of statements, always
after.

I've been programming PICs in assembler for a few years and I am now trying
C.
I have lots to learn.
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to