Advertisement
Satscape

ComputerCraft pulser

Mar 8th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- A simple pulser, better than having a Redpower timer ticking away every 0.3 seconds!
  2. -- Just change the following line to suit your set up...
  3.  
  4. side="left"
  5. delay=0.3
  6.  
  7. while true do
  8.   rs.setOutput(side,true)
  9.   os.sleep(delay)
  10.   rs.setOutput(side,false)
  11.   os.sleep(delay)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement