I have a small bit of code at my site: http://www.ubasics.com/adam/electronics/ha/ The code can be downloaded directly here: http://www.ubasics.com/adam/electronics/ha/ver000101/node.c It includes setting the configuration bits. The code currently: Sets up the UART and A/D, then waits for commands via UART, or keypresses on the keypad. Commands to check the A/D on channel one (and send the result through the UART), and send control/data info to the LCD can be sent through the UART. The target is a 16f876, but could easily be any of the 16f87x variants. -Adam I hope this is helpful. "JP.BROWN" wrote: > > Greetings!, has anybody got any cc5x listings for the new flash parts?, I > have used cc5x for the 16F84 (and I like it!) but I can't get my c > programs to work on the 16F873, in particular I am having difficulty with > the configuration bits (#pragma config LVP=off etc. etc..) > > Thank's John P.B. > > ----- John P. Brown J.P.Brown@bradford.ac.uk ---- > \ --- Witty remark goes here --- / > --------------------------------------------------