Hi people,
I´m having a problem with a pic 16f877a. I´m conecting to a PC and sending some data (i´ve program using the ccsc compiler). The data receive by the PC is'nt the same data as i´m sending. Example, i send 0x55 and the computer receive 0x2b, for all 0x55 the computer are receiving 0x2b, and so on, for each byte i send, there is one equivalent being received by the computer.
I Have used the intel 8051, this is my first time with pic, so i apreciate any help
-> The conection is 9600, no parity, byte with 8 bits and no parity, one stop bit... The pic is using an 20 Mhz Cristal (but i also have tested with a 4mhz ressonator)
I´m having a problem with a pic 16f877a. I´m conecting to a PC and sending some data (i´ve program using the ccsc compiler). The data receive by the PC is'nt the same data as i´m sending. Example, i send 0x55 and the computer receive 0x2b, for all 0x55 the computer are receiving 0x2b, and so on, for each byte i send, there is one equivalent being received by the computer.
I Have used the intel 8051, this is my first time with pic, so i apreciate any help
-> The conection is 9600, no parity, byte with 8 bits and no parity, one stop bit... The pic is using an 20 Mhz Cristal (but i also have tested with a 4mhz ressonator)