In SX Microcontrollers, SX/B Compiler and SX-Key Tool, stef wrote: Hi John Thanks for this alternitive way.The problem is that the puses need an exact timing. Every 2 mS (millyseconds) a puls with a duration off 50 µs (micro). Is the pulsout command capable of this??? and how exact is that. Yes you are correct when saying that I only want to puls when I set the input high. I even want to add something that I need to use a variable that specifies the amount of pulses. Exampel : I want to send 10 pulses out when I set the imput high. Than I set the imput low and changes the variable to 7 . If I set the input back again high i want to send 7 pulses and stop again pulses. That eventualy what I want to set that up. The device that is connected to the sx is reakting in binair strings. I just what to know if it is possible and start with a litle hind (like you examples) I'm just a beginner but my first project wend well (reading wiegand data) that now I 'm interested in doing more. But i still need to lurn a lot. stef ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=157491#m157654 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)