Page 1 of 1

need help for pyro propeller clock project(programming)

Posted: Wed Jun 06, 2012 10:28 am
by sai
hi pyro

the pyro propeller clock has amused me a lot.....so i took up the project,and it was fine until i reached the programming part.
when i tried to compile the .c file and to convert it to hex file,they were many errors displayed..
The first thing that comes is
#include <p18f252.h>
#include <delays.h>
#include <timers.h>
#include <capture.h>
the above lines are not found...
can you please tell me a solution (or) can you please send me the .hex files for pyro propeller clock project...to my email digvijsai@gmail.com
really looking forward for your reply thank you
and once again the propeller clock project was superb

Re: need help for pyro propeller clock project(programming)

Posted: Wed Jun 06, 2012 3:15 pm
by ThePyroElectro
sai wrote:hi pyro

the pyro propeller clock has amused me a lot.....so i took up the project,and it was fine until i reached the programming part.
when i tried to compile the .c file and to convert it to hex file,they were many errors displayed..
The first thing that comes is
#include <p18f252.h>
#include <delays.h>
#include <timers.h>
#include <capture.h>
the above lines are not found...
can you please tell me a solution (or) can you please send me the .hex files for pyro propeller clock project...to my email digvijsai@gmail.com
really looking forward for your reply thank you
and once again the propeller clock project was superb


Hi. I didn't provide a HEX file for this project because there was more than 1 configuration.

Please See Here: http://www.pyroelectro.com/forums/viewtopic.php?f=2&t=409#p1943

Re: need help for pyro propeller clock project(programming)

Posted: Wed Jun 06, 2012 4:11 pm
by sai
ya I have seen that you provided 4 models of display ...but please can you at least send the hex file for any 1 model..sorry for bothering you but this is my humble request :( :(

Re: need help for pyro propeller clock project(programming)

Posted: Wed Jun 06, 2012 4:48 pm
by sai
Ok can you please tell me how to compile the .c file into hex file

Re: need help for pyro propeller clock project(programming)

Posted: Wed Jun 06, 2012 8:21 pm
by ThePyroElectro
sai wrote:Ok can you please tell me how to compile the .c file into hex file


This tutorial explains using MPLABX + C18 compiler for microchip PIC microcontrollers:

http://www.pyroelectro.com/tutorials/pickit3_mplabx/

This tutorial explains using MPLAB (older version) + C18 compiler for microchip PIC microcontrollers:

http://www.pyroelectro.com/tutorials/pic_microcontroller/index.html

Good luck!

Re: need help for pyro propeller clock project(programming)

Posted: Sun Jun 10, 2012 7:12 am
by sai
hi pyro
I went through the tutorials you prescribed and I tried to compile it but this only 1 error is displayed.
could not find file 'c018.o'.
can you please tell me what to do....