Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("back") -- Wraps the modem on the right side.
- local compSide = "left"
- while true do
- local reading = redstone.getAnalogInput(compSide)
- print("mana level: " ..reading)
- modem.transmit(2, 2, reading )
- sleep(10)
- end
Advertisement
Add Comment
Please, Sign In to add comment