daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest Jan 12th, 2013 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. loadrt timedelay  
  2. loadrt toggle count=2
  3. loadrt toggle2nist
  4. loadusr dwelloncorners
  5.  
  6. addf toggle.0 servo-thread
  7. addf toggle.1 servo-thread
  8.  
  9. addf toggle2nist.0 servo-thread
  10.  
  11.  
  12. # setp timedelay.0.on-delay pyvcp.pause.f
  13. # setp timedelay.0.off-delay pyvcp.pause.f
  14.  
  15. # here is a halui pin missing that indicates next corner is >85deg
  16. # net pauson pyvcp.pausebutton toggle.0.in
  17. net paueoff timedelay.0.out toggle.0.in
  18.  
  19. net togglesig toggle.0.out toggle2nist.0.in
  20.  
  21. net toggleon toggle2nist.0.on  => halui.program.pause
  22. net toggleoff toggle2nist.0.off => halui.program.resume
  23.  
  24. net spindelonled halui.spindle.is-on => pyvcp.wireonled
  25. net spindelonbutton pyvcp.wireonbutton => halui.mdi-command-00
  26. net spindeloffbutton pyvcp.wireoffbutton => halui.mdi-command-01
  27. net spindle-ramped => pyvcp.wiretemp
  28. net corner-led-toggle toggle.1.in <= pyvcp.edge-corner-pause
  29. net corner-led-onoff toggle.1.out => pyvcp.edge-corner-pause-led
  30.  
  31. # net timetopause dwelloncorners.time_to_dwell <= pyvcp.pause
  32. # net dwellondeg  dwelloncorners.deg <= pyvcp.edgedegre
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top