I have a special problem:
in my first programm, i try the following:
i try to send one characters (a) via rs232 (i use the rs232 marco)
now i try to receive this characters, and if it has been received correctly, i want to flash a led
this programm works fine
now to my 2nd programm:
when i try to send 'a' and 'b' and also to do the same on my receiver-pic ( flash a led when both characters have been received correctly)
it doesnt work
how can i manage it to get this programm working?
can you maybe give some examples plz?
What does the nTimeout(BYTE) exactly do?
i added both c-codes as attachement
1st:receiving-programm
2nd: sending-programm
nasty problem with rs232
nasty problem with rs232
- Attachments
-
- PICtoPIC mit 16F873.c
- (6.96 KiB) Downloaded 304 times
-
- Test.c
- (6.91 KiB) Downloaded 264 times