Originally Posted by
orwell101
Hello!
I am a Newbie on programming Micros.
I have a PIC 16F84 an wrote a littele Program.
This is my Programm:
INCLUDE "modedefs.bas"
B0 var byte
a var byte
SI var PORTB.7
start:
SERIN si,T2400,B0
if b0 <> "0" then
for a= 0 to 255
serout si,T2400,[a]
next a
endif
goto start
end
When i send an X in the serial communicator window,the PIC sould send
the complette ASCII codes.
But the PIC send this:
X!–ˆA9Œ#‘T‘!†Ž3’H!CR‰"’*Sq‰fœ2cRbr‚’ j(PPb=RiQQfy}-RR**™-Mm*
–Xq-1=AMQ]amq}‘*˜``
!"#,-./0123<=>?@ABCLMNOPQRS\]^_`abclmnopqrs|}~€‚ƒŒŽ‘’“œžŸ *
The Settings of then Serial Communicator is:
COM1
2400 Baud
NoParity
ByteSice 8
1 Stop Bit
What do i wrong?
I think its a little Problem for the most afl here.
Sorry for mx English(german)
Thanks a lot for your help!