Quote Originally Posted by aratti View Post
Code:
hello everyones again lol, im trying to send dec numbers from pc to pic but i donno how to why when i send ex: 15 it stores $60 in eeprom or dec 20 it stor $08 . And it stucks
mus.me,
serin2 si,n2400,[b0] is wrong. For 2400 bauds use : serin2 si,396,[b0]. The same apply for serout2.

Do you use hyperterminal for rs232 com with the pic?



write 5,b0 'save numbers in eeprom

you are writing "5 times or more" in the same location, so at the end you will see only the last byte txed.

Al.
thank you aratti im using serial communicator in microcode studio . But still gettin wiered symboles when i send from pic to the pc . I want to send dec and ascii but i donno how