On Sun, 2010-11-07 at 09:11 +0100, dambacher-retrofit.de wrote:
... snip
> FUNCTION(doreset) {
>       PCount=0;
> }
> 
> FUNCTION(dostrobe) {
>   strobe=0;
>   ServoStart=0;
>   if (PCount==0) ServoStart=1;
>   if (PCount==3) strobe=1;
>   PCount++;
> }

Duh, of course. I got hung up on using a signal edge for a trigger. I
didn't recognize that a bread crumb (PCount) is really what the edge was
about. Thanks.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to