[Sdcc-user] Defining an ISR on sdcc

2007-10-13 Thread Alan Carvalho de Assis
Hi, I'm found two approaches to implements an interrupt handler on sdcc, but none is working here. The first one is this: void timer_intr() interrupt 0 { LED_PIN ^= 1; INTCONbits.T0IF = 0; } But when compiling I get this error: sdcc -mpic16 -p18f2680 -V -Wl-c -I/home/alan/pic/inte/ -ointe.h

Re: [Sdcc-user] PIC not executing using any power supply other than the computer USB port

2007-10-13 Thread Stanley Lee
Apparently this isn't the last email on this topic. I'm not sure why this problem doesn't occur to 2220 but to 2620, as I need to use 2620 or its family chips for the purpose of my project. I've checked the pin 10 (clkout) with the oscillator fusebit set to output a clock on pin 10 as shown in the