Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("top")
- i = 0
- colorList = {DF0101, DF3A01, DF7401, DBA901, D7DF01, A5DF00, 74DF00, 3ADF00, 01DF01, 01DF3A, 01DF74, 01DFA5, 01DFD7,
- 01A9DB, 0174DF, 013ADF, 0101DF, 3A01DF, 7401DF, A901DB, DF01D7, DF01A5, DF0174, DF013A}
- function sendColor(hex)
- rednet.broadcast(hex,"Lamp")
- end
- while true do
- if i > #colorList then i = 0 end
- sendColor( colorList[i] )
- sleep(0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement