'd say its:
code char at _CONFIG1H config1h = 0x02;
or (for disabled clock switch):
code char at _CONFIG1H config1h = 0x22;
(anyone please correct me if i'm wrong here :) )

what's your code? and your oscilator setup? (what speed is it? is it tied to common with the right capacitors?)

Regards,
Luit

2007/3/13, rhoddy mair <teamfruit@googlemail.com>:
i am having great trouble configuring the pic for use with an external crystal oscillator, i cant work out how to write to the config1h register, any help most appreciated

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user