Advertisement
marko_rus

OC_mcu_firmware__led_decoder

Jan 26th, 2020
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. red = component.proxy(component.list("redstone")())
  2. led = red.setBundledOutput
  3. while true do
  4. led(4,0,255)
  5. led(4,1,255)
  6. led(4,2,255)
  7. led(4,3,255)
  8. led(4,4,255)
  9. led(4,5,255)
  10. led(4,6,255)
  11.  
  12. test = {4,7,250,4,8,255}
  13. led()test
  14.   computer.pullSignal(1)
  15. led(4,0,0)
  16. led(4,1,0)
  17. led(4,2,0)
  18. led(4,3,0)
  19. led(4,4,0)
  20. led(4,5,0)
  21. led(4,6,0)
  22. led(4,8,0)
  23. led(4,9,0)
  24. led(4,10,0)
  25. led(4,11,0)
  26. led(4,12,0)
  27. led(4,13,0)
  28.   computer.pullSignal(1)
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement