In SX Microcontrollers, SX/B Compiler and SX-Key Tool, 97566 wrote: I had to switch up to the SX 48 for the purpose of having binary seconds but I am having trouble with the code. I do not know how to change the code from P Basic to SX/B for the SX 48 chip. I also need to have the code to say that it uses a 50 mHz external oscillator. Here is a sample of my code. It isn't finished yet to work for the clock part but I don't know how to make sure it will work for the SX 48 chip. Also The SX\B language does not recognize () and when they are taken out an error is given. It say that there is an invalid number of perameters in the line. Could you please help me to get around this bit code. Here is one piece of the code that I need to change: theDig = theDig + 1 // 4 Thank you, Ace 227 ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=330084#m346181 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)