Posted 30 July 2013 - 07:59 PM
Hello mighty gurus of computercraft :P/>
I am trying to write a light control program than can handle multiple lights. So far everything works but, and this is a big but, i can only have 1 light on at the time.
here is the pastebin: http://pastebin.com/ZF76tLKH
any help would be greatly appreciated, have been trying for 6 hours why I can only have one light on at the same time.
p.s. I can turn lights on and off. I can have them all off but only 1 can be on.
(if you want to run it you need a 3x2 advanced screen)
edit: everytime i startup the program it doesn't show the on/off buttons. It writes them on the screen after i clicked their positions on the monitor.
I am trying to write a light control program than can handle multiple lights. So far everything works but, and this is a big but, i can only have 1 light on at the time.
here is the pastebin: http://pastebin.com/ZF76tLKH
any help would be greatly appreciated, have been trying for 6 hours why I can only have one light on at the same time.
p.s. I can turn lights on and off. I can have them all off but only 1 can be on.
(if you want to run it you need a 3x2 advanced screen)
edit: everytime i startup the program it doesn't show the on/off buttons. It writes them on the screen after i clicked their positions on the monitor.