demonic-chicken
New Member
Hi,
So, I'm building a robot/appliance which connects to a PC via serial port.
I'm programing on an 18x mounted on a experimenter board, and when I use the serin command to send numbers like 1, 0,2 etc... the 18x records numbers like 50 or 126. Ive used various modes to transmit, and Ive grounded Rcv to 0v via 22k resistor. I added a serout command to confirm what I transmitted, and it confirms by returning my values. Yet when I use debug, or just watch the behavior of the robot, it is still getting numbers in the 50+ range.
I've scoured the forums for a while and found nothing.
any thoughts?
Thanks
So, I'm building a robot/appliance which connects to a PC via serial port.
I'm programing on an 18x mounted on a experimenter board, and when I use the serin command to send numbers like 1, 0,2 etc... the 18x records numbers like 50 or 126. Ive used various modes to transmit, and Ive grounded Rcv to 0v via 22k resistor. I added a serout command to confirm what I transmitted, and it confirms by returning my values. Yet when I use debug, or just watch the behavior of the robot, it is still getting numbers in the 50+ range.
I've scoured the forums for a while and found nothing.
any thoughts?
Thanks