Good day every one!
I have a problem (that none of my teachers even can solve) so i was hopeing that some one here can help me!
I use a PIC 16F877A and i want it to take / recive and send information. Basicly im just doing small programs trying to see how things work right now.
Any how All work good but one thing!
It only recive 3 bytes! (even if i transmit 20)
This is the test program code:
DEFINE LOADER_USED 1
DEFINE HSER_TXSTA 24h
DEFINE HSER_BAUD 2400
DEFINE OSC 4
Char VAR BYTE[9]
main:
HSERIN [char]
PAUSE 100
HSEROUT [char]
RCSTA.4 = 0
RCSTA.4 = 1
GOTO main
END
basicly im transmiting this (15bytes):
Hej på dig pic
And recive this (3bytes):
Hej
Thanks in advance!
Bookmarks