Advertisement
Guest User

Computer Craft Redstone Pulse

a guest
Mar 11th, 2012
3,218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. local nCount = 10
  2. local nPeriod = 0.5
  3.  
  4. for n=1,nCount do
  5.     redstone.setOutput( sSide, true )
  6.     sleep( nPeriod / 2 )
  7.     redstone.setOutput( sSide, false )
  8.     sleep( nPeriod / 2 )
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement