In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Lightfoot wrote: here is something that may work, I still do not know what values I should pause for 2400 baud. If it is True 2400 do I need a start/stop bit? Transmitter: [code] ctr var byte data var byte ra = 0 DO _data = 78 FOR ctr = 1 to 8 IF _data.7 = 1 THEN IF RA.0 = 0 THEN 'RA.0 may already be one from a previous one transmission. ra.0 = ~ra.0 ENDIF ELSE IF RA.0 = 1 THEN 'RA.0 may already be zero from a previous zero transmission. ra.0 = ~ra.0 ENDIF ENDIF pauseus _data = _data << 1 NEXT LOOP [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=198278#m199393 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)