Advertisement
pan7nikt

PowerMonitorMaster

Jul 12th, 2020
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. modem = peripheral.wrap("back")
  2. modem.open(7)
  3. while true do
  4.     if redstone.getInput("left") == true then
  5.         modem.transmit(7,7,"active")
  6.         print("sending pulse...")
  7.     end
  8.     os.sleep(3)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement