In SX Microcontrollers, SX/B Compiler and SX-Key Tool, jerryedvinsson wrote: [3]Hi all again.[/3] [3] [/3] [3]I will try to explain this better. I am checking the Rs232 with a normal 100mhz oscilloscope.[/3] [3]With this I see the startbit, 8 databits and the stop bit exactly as it comes out from my pc.[/3] [3](no TTL, both timing and levels) When I using a terminal (almost anyone works fine) [/3] [3]in my pc I can send any byte by holding the alt key and then put the value in decimal 1-255.[/3] [3](need to always be 3 letters, ex, 001,064,255 etc) When I do this I can easily understand[/3] [3]the number 1-126 on my oscilloscope, this is showing normal binary pattern but when the [/3] [3]numbers go to 127 and above it is not as clear anymore. When I send 126 the binary[/3] [3]I see on my oscilloscope is 01111110 and this is 126 but when I send 127 it is 10100110[/3] [3]and this is 166. I can not really understand this??? Anyone who can explain this??[/3] [3]I doing this because I going to implement lowlevel coding in the Sx28 to receive and send[/3] [3]data to other units. To build up the protocol I need to understand this facts so I can working [/3] with real bytes. Regard Jerry :smurf: ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=135376 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)