cparsons
Joined: 09 Jan 2008 Posts: 5
|
|
Posted: Fri Jun 13, 2008 9:30 am |
|
|
I don't have any such source code.
When you say you don't see anything on the screen, can you be a bit more specific about how the "screen" is connected to the PIC?
On my PIC18LF4580 I use the debug port using printf and including the lines
Code: |
#use delay(clock=14745600)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
|
Pins C6 and C7 then go through an interface chip to a serial port which I connect to my PC. My PICDEM2 Plus development board needs a "straight" serial cable i.e. not a cross over. My PC is set to communicate at 9600 baud, 1 stop bit, no parity.
The frequently asked questions and compiler documentation might also be useful. e.g. my compiler documentation includes the FAQs How does the PICĀ® connect to a PC? and Why is the RS-232 not working right?. |
|