In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: The subroutines in the program that's attached might get you started. Please note that I'm just a programmer, not a model railroader so I'm just going on the information that you provided; you'll probably have to tweak timing and may need to change bit polarity in the TX_DCC_BIT routine to accommodate your H-Bridge. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=198278#m198664 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)