DAKUE1999

moving Display

Aug 19th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. m = peripheral.wrap("bottom")
  2. x = 21
  3. TextPosX = 10
  4. while true do
  5. for loop = x, 0, -1 do
  6. sleep(0.3)
  7. m.clear()
  8. m.setTextColor(colors.lightBlue)
  9. m.setCursorPos(TextPosX,1)
  10. m.setTextScale(4)
  11. m.write("Vote-Rezepte")
  12. TextPosX = TextPosX -1
  13. end
  14. x = 21
  15. TextPosX = 10
  16. end
Add Comment
Please, Sign In to add comment