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

2007-10-06 Thread Stanley Lee
Hi, Sorry for another email. I have received modified version of Jan's makefile. The compilation and build process is solved. However, I am encountering the same problem as I have experienced before, and that is the PIC18F2620 doesn't execute the operation of blinking the LEDs automatically right

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

2007-10-06 Thread Stanley Lee
Hi, I have sent Jan a copy of the Makefile and source code. I will be testing modified version of the source code and Makefile on a PIC16F877a to see if anything different would result. Please feel free to ask me for the files if you're interested. Stanley On 10/5/07, [EMAIL PROTECTED] <[EMAIL P

[Sdcc-user] inline functions

2007-10-06 Thread Alan Carvalho de Assis
Hi guys, I'm using piklab 0.14.5 and sdcc 2.7.3 for pic18f2680, but I getting error when using inline functions. This is a simple inline function test: inline void delay_ms(long ms) { long i; while (ms--) for (i=0; i < 100; i++) ; } void main() { LED_TRIS = 0; for (;;)