| View previous topic :: View next topic |
| Author |
Message |
Audi80
Joined: 07 Sep 2007 Posts: 41
|
|
Posted: Wed Nov 28, 2007 1:14 pm |
|
|
| Nop! |
|
 |
mcad
Joined: 25 Nov 2007 Posts: 48
|
|
Posted: Wed Nov 28, 2007 1:42 pm |
|
|
Ok, sir.
Thak you for your interest.
Regards |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Nov 28, 2007 1:42 pm |
|
|
| Quote: | #include <16F877.h>
#fuses XT,NOWDT,NOPROTECT,NOLVP
#use delay(clock=3200000)
#define use_portb_lcd TRUE
#include <LCD.C> |
| Quote: | | but I especially want to see where I am making mistakes. |
Where do you get the strange frequency of 3.2 MHz for the PIC ?
Do you have a crystal or oscillator that runs at 3.2 MHz ? |
|
 |
mcad
Joined: 25 Nov 2007 Posts: 48
|
|
Posted: Wed Nov 28, 2007 1:43 pm |
|
|
Sir,
The oscillator of the lab has that frequency. |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Nov 28, 2007 1:55 pm |
|
|
The problem is that you are building your own circuit and learning C
at the same time.
It's better to use a factory-built board, and then just learn how to
run it with the CCS compiler.
It's very hard for us to debug your hardware mistakes. We can't see
your board. I suggest that you buy a Microchip board, or some other
factory-built board with an LCD on it. Then all the connections will be
correct. |
|
 |
|