In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: metron, HIGH and LOW also setup the pin direction. That's why it takes more cycles. Use: OUTPUT pin DO pin = 1 pin = 0 LOOP However, you are going to run into read/modify/write problems at high speeds. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=153066#m153075 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)