Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Control Computer Basic
- local Wireless -- link au pc de Control
- Wireless = peripheral.wrap("right")
- Wireless.open(69)
- Wireless.open(70)
- Wireless.open(71)
- Wireless.open(72)
- Wireless.open(73)
- Wireless.open(74)
- Wireless.open(75)
- while true do
- local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEvent("modem_message")
- if (senderChannel == 71) then
- print("Reactor:"..message)
- end
- if (senderChannel == 72) then
- print("Energie Stored:"..message)
- end
- if (senderChannel == 73) then
- print("Fuel temperature:"..message)
- end
- if (senderChannel == 74) then
- print("Casing temperature:"..message)
- end
- if (senderChannel == 75) then
- print("Fuel amount:"..message)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement