In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DigitalDj wrote: I have been playing around trying to learn more of the code for the SX and have run across a snag in the Practical SX book. I have typed this code in but I get nothing. I tried searching the forum because I had read at one time there was some typos in Jon book. So I wanted to see if I was doing something wrong or there was an error in the book. [code] ' ------------------------------------------------------------------------- ' Program Description ' ------------------------------------------------------------------------- Led Blinky 3 ' ------------------------------------------------------------------------- ' Device Settings ' ------------------------------------------------------------------------- DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX FREQ 4_000_000 ' ------------------------------------------------------------------------- ' IO Pins ' ------------------------------------------------------------------------- Led Pin RB.0 ' ------------------------------------------------------------------------- ' Constants ' ------------------------------------------------------------------------- IsOn Con 1 IsOff Con 0 ' ------------------------------------------------------------------------- ' Variables ' ------------------------------------------------------------------------- ' ========================================================================= PROGRAM Start ' ========================================================================= Start: Do Led = IsOn Pause 500 Led = IsOff Pause 500 Loop Thanks, Kevin [/code] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=250589 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)