shinevision

RGB.lua

Mar 29th, 2021 (edited)
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.16 KB | None | 0 0
  1. local RGB = peripheral.wrap("right")
  2. i = 0
  3. max = 32767
  4. while true do
  5.     if i > max then
  6.         i = 0
  7.     end
  8.     RGB.setLampColor(i)
  9.     i = i + 1;
  10. end
  11.  
Add Comment
Please, Sign In to add comment