On 11/26/2011 2:55 AM, William "Chops" Westfield wrote: > On Nov 21, 2011, at 3:05 AM, Chris Roper wrote: > >> uart_interrupt.c:174:1: error: Vector number must be an integer between = 0 and 63 >> >> with this code snippet: >> >> void __ISR(_UART4_VECTOR, ipl2) IntUart2Handler(void) > Hmm. I installed MPLAB X on my Mac (including pic32-gcc 2.01), and there= is no symbol _UART4_VECTOR defined anywhere that I can see. > > There *is* a _UART_4_VECTOR off in p32mx695f512l.h > > And there are _UART1_VECTOR and _UART2_VECTOR in ppic32mx.h: > > #define _UART1_VECTOR _UART_1_VECTOR > #define _UART2_VECTOR _UART_2_VECTOR > > (what, won't your windows system do a quick content search of your entire= disk, like the Mac's "spotlight" feature? PShaw!) > > There are also a bunch of other _UART4_xxx_IRQ defines that appear to be = IRQ numbers rather than vector numbers, and have values exceeding 63. Why = the inconsistency? I dunno! (cursed HW companies trying to write software= !) > > So, try: > >> void __ISR(_UART_4_VECTOR, ipl2) IntUart4Handler(void) > BillW > DOES ANYBODY KNOW ? I want to connect a potentiometer to the LINISTEPPER=20 so a stepper can be tested without a computer. Has anybody done that/ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .