romel_emperado
Advanced Member level 2
- Joined
- Jul 23, 2009
- Messages
- 606
- Helped
- 45
- Reputation
- 132
- Reaction score
- 65
- Trophy points
- 1,318
- Location
- philippines
- Activity points
- 6,061
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 #include<pic.h> void main() { RA2 = 0; while(1) { RA2 = 1; } }
Build C:\users\romel\Desktop\program test\blink-LED.c for device 16F628
Using driver C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe
Make: The target "C:\users\romel\Desktop\program test\blink-LED.p1" is out of date.
Executing: "C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe" --pass1 "C:\users\romel\Desktop\program test\blink-LED.c" -q --chip=16F628 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Executing: "C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe" -oblink-LED.c.cof -mblink-LED.c.map --summary=default --output=default blink-LED.p1 --chip=16F628 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
(1273) Omniscient Code Generation not available in Lite mode (warning)
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.80
Copyright (C) 2010 Microchip Technology Inc.
Memory Summary:
Program space used Ah ( 10) of 800h words ( 0.5%)
Data space used 2h ( 2) of E0h bytes ( 0.9%)
EEPROM space used 0h ( 0) of 80h bytes ( 0.0%)
Configuration bits used 0h ( 0) of 1h word ( 0.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
Running this compiler in PRO mode, with Omniscient Code Generation enabled,
produces code which is typically 40% smaller than in Lite mode.
See **broken link removed** for more information.
Loaded C:\users\romel\Desktop\program test\blink-LED.c.cof.
********** Build successful! **********
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 #include<pic.h> void main() { TRISB = 0; while(1) { PORTB = 1; } }
Code C++ (Qt) - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 #include<pic.h> void main() { unsigned int x; TRISB = 0x02; PORTB = 0x02; while(1) { RB0 = 1; RB5 = 0; for(x=0; x<1000; x++); RB0 = 0; RB5 = 1; for(x=0; x<1000; x++); if(RB1 = 0) RB7 = 1; else RB7 = 0; } }
if you use < > symbol then this file is searched in the complete drive
if you use " " then the header file is searched only in the present working directory......
FRIEND,
NO NEED to click 'help' for every post.......okay.:wink:.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?