Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("config")
- modem = peripheral.wrap(config.modem)
- reactor = peripheral.wrap(config.reactor)
- reactor.setActive(false)
- reactor.setAllControlRodLevels(0)
- while true do
- Activity = reactor.getActive()
- if Activity then Activity = "on " else Activity = "off" end
- modem.transmit(21, config.id, "Reactor-Statut:1:"..Activity)
- sleep(5)
- end
Add Comment
Please, Sign In to add comment