Im using XP to transfer data to a 16F84A via hyperterminal. The problem Im running into is that A> I cant get SERIN to read properly(atleast that I can tell) and B> when I attach an LCD to the RS-232's output to the pic Im not recieving the data Im sending. Is my Pic or hyperterminal setup incorrectly?
Settings are hyperterminal settings are:
Bits per second 2400
data bits 8
parity None
Stop bits 1
flow control None
Emulation ANSI
SERIN is setup for
or without a qualifier
none of which seem to function.
my lcd is set for 2400bps inverted (pretty sure its inverted, I use N2400 when communication via a PIC)
for serin Ive tried with and without qualifier and cant get it to work. I wrote a simple test program to read pin 2 on porta and output it on pin 3 of porta which doesnt seem to do anything :/ So I tried to connect the lcd to the rs-232's output to the pic, I recieve data on each key press but not the key Im pressing. Example if I click 2 I get a 3, some of the letters will display the special characters in the lcd, and other such strange inputs.
Settings are hyperterminal settings are:
Bits per second 2400
data bits 8
parity None
Stop bits 1
flow control None
Emulation ANSI
SERIN is setup for
Code:
serin porta.2, N2400,[255], temp
or without a qualifier
Code:
serin porta.2, N2400, temp
none of which seem to function.
my lcd is set for 2400bps inverted (pretty sure its inverted, I use N2400 when communication via a PIC)
for serin Ive tried with and without qualifier and cant get it to work. I wrote a simple test program to read pin 2 on porta and output it on pin 3 of porta which doesnt seem to do anything :/ So I tried to connect the lcd to the rs-232's output to the pic, I recieve data on each key press but not the key Im pressing. Example if I click 2 I get a 3, some of the letters will display the special characters in the lcd, and other such strange inputs.