More fun with C30 for the PIC24s... I can not get the compiler to pay ANY attention to uart.h I added it to the MPLAB include path $(incdir) and even added it explicitly in the MPLAB includes folder as a file. If I invoke definitions unique to PIC 24 UART (Defined in uart.h) the compiler complains they are undefined. Source file line: USART2_STA_Value = UART_INT_TX & UART_IrDA_POL_INV_ZERO & UART_SYNC_BREAK_DISABLED & UART_TX_ENABLE & UART_INT_RX_3_4_FUL & UART_ADR_DETECT_DIS & UART_RX_OVERRUN_CLEAR; Compiler results: Inits.c: In function `inits': Inits.c:140: error: `UART_IrDA_POL_INV_ZERO' undeclared (first use in this function) Inits.c:140: error: (Each undeclared identifier is reported only once Inits.c:140: error: for each function it appears in.) Inits.c:140: error: `UART_SYNC_BREAK_DISABLED' undeclared (first use in this function) Halting build on first failure as requested. Programming in C are good... with asprin. Tom * | __O Thomas C. Sefranek WA1RHP@ARRL.NET |_-\<,_ Amateur Radio Operator: WA1RHP (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 ARRL Instructor, Technical Specialist, VE Contact. http://hamradio.cmcorp.com/inventory/Inventory.html http://www.harvardrepeater.org -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist