I've edited a program that can change the color of a colorful lamp. I now want it to change the color of multiple lamps. As of now I've created a table to hold the info of the component table (which is just a placeholder intended for debugging) and a table to hold just the address of the different lamps. I however don't know how to specify which lamp the setLampColor method should apply to, the "component.invoke()" sounds promising but I got no results other than this error msg:
I've created a program similar this on computercraft but it was too much of a pain to translate it all; m