Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m1 = peripheral.wrap("bottom")
- m2 = peripheral.wrap("back")
- m1.clear()
- m2.clear()
- while true do
- m2.setBackgroundColor(colors.green)
- m1.setBackgroundColor(colors.red)
- m1.clear()
- m2.clear()
- os.sleep(1)
- m2.setBackgroundColor(colors.red)
- m1.setBackgroundColor(colors.purple)
- m1.clear()
- m2.clear()
- os.sleep(1)
- m2.setBackgroundColor(colors.purple)
- m1.setBackgroundColor(colors.blue)
- m1.clear()
- m2.clear()
- os.sleep(1)
- m2.setBackgroundColor(colors.blue)
- m1.setBackgroundColor(colors.white)
- m1.clear()
- m2.clear()
- os.sleep(1)
- m2.setBackgroundColor(colors.white)
- m1.setBackgroundColor(colors.green)
- m1.clear()
- m2.clear()
- os.sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment