Advertisement
Guest User

Untitled

a guest
May 26th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2. # file to turn on parport pin 17 to turn laser off after a time
  3. # usage M103 P10.1
  4. t=$1
  5. halcmd setp parport.0.pin-17-out True
  6. sleep $t
  7. halcmd setp parport.0.pin-17-out False
  8. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement