In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Castrovinci wrote: Hello, I have searched the forum many times and have seen example code to serout a variable or pin state. I tried using the programs john has provided and hitt consulting. It always send the hex format (Or not the actual number) or variable I try to send. For example DEVICE SX28, OSCHS3, TURBO, STACKX, OPTIONX FREQ 50_000_000 InPin VAR RB.0 ' Change this to whatever pin you want to monitor SOutPin VAR RB.1 ' Change this to whatever pin you want serial output from Temp VAR BYTE PROGRAM Start Start: INPUT InPin Again: Temp=InPin SEROUT SOutPin, N115200, Temp GOTO Again This should send a either a 1 or a 0 out. However I get a smiley face or some other character. I have changed the baud rate even to 2400 it does the same. It wont send any characters unless I switch to N2400 instead or T2400. The hardware connection I have it a serial plug with the serout pin connected to it and hyperterminial connected. It is also grounded to the ground. The pin I am using on the serial cable in number 2 for the connection and number 5 for the ground. I can send one letter at a time using this format: Serout Ra.0, N2400, "A" But I need to send the pin state and a variable seperatly Serout Ra.0, N2400, Variable I am using an external osc like you said and I tried all different freq and resinators. Can you please help I am semi new to this chip. In Short It must always be in "" for numbers to be sent or words. Which I need to send variable data. Thanks again! Tony :burger: ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=104728 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)