Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "hier wird eingetragen wo der Monitor angeschlossen ist(left,top,...)"
- mon = peripheral.wrap(side)
- -- das mache ich das ich den monitor schnell reinigen kann
- -- da bleibt die farbe erhalten
- function clear()
- mon.clear()
- mon.setCursorPos(1,1)
- end
- -- da nicht
- function cclear()
- mon.clear()
- mon.setCursorPos(1,1)
- mon.setTextColor(colors.white)
- mon.setBackgroundColor(colors.white)
- end
- -- das man auch term.XX eingeben kann
- term.redirect(mon)
- -- Hier könnt ihr dann euer Program schreiben
- term.restore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement