Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ##### Variablen
- mon = peripheral.find("monitor")
- -- #### Hauptprogramm
- redstone.setOutput("left", true)
- sleep(0.1)
- redstone.setOutput("left", false)
- mon.clear()
- mon.setCursorPos(2,2)
- mon.write("Abfahrt in:")
- mon.setCursorPos(2,4)
- mon.write("Bitte einsteigen!")
- for i = 10,1,-1 do
- mon.setCursorPos(14,2)
- sleep(1)
- mon.write(i)
- end
- mon.clear()
- mon.setTextScale(2)
- mon.setCursorPos(2,2)
- mon.setTextColor(colors.red)
- mon.write("Gute Fahrt!")
- sleep(1)
- rednet.open("bottom")
- rednet.send(56, "2") -- statt 2 hier pro Fahrt Weichenstellungszahl / Streckenzahl angeben
- redstone.setOutput("back", true)
- sleep(3)
- redstone.setOutput("back", false)
- mon.setTextScale(1)
- mon.setTextColor(colors.white)
- mon.clear()
Advertisement
Add Comment
Please, Sign In to add comment