Hello Interwebs,
First time poster, longtime fan of ftb.
And I'm kinda stuck with writing a program for a automated light system.
Everytime I want to test my program I get: test:4: invalid side.
I don't know if it's the setup or the program, so I decided to post both and what It should do.
The program;
term.clear()
term.setCursorPos(1, 1)
print"test started"
rs.setBundledOutput("Back", 1)
sleep "2"
rs.setBundledOutput("Back", 2)
sleep "2"
rs.setBundledOutput("Back", 4)
sleep "2"
rs.setBundledOutput("Back", 8)
sleep "2"
print "done"
The setup;
What It should do (See thumbnail 2 for visual aid);
Middle Piston retracts
Left Piston retracts
Right Piston extends
Middle Piston extends
Flip toggle latch, turn on wireless transmitter
This is a test for retracting a dirt block, extending a lamp and turning the lamp on.
If I can make this work, I want to do it in reverse and automate it with a Light Sensor.
Hope someone can help me
P.s. This is my first time doing anything with computercraft.
First time poster, longtime fan of ftb.
And I'm kinda stuck with writing a program for a automated light system.
Everytime I want to test my program I get: test:4: invalid side.
I don't know if it's the setup or the program, so I decided to post both and what It should do.
The program;
term.clear()
term.setCursorPos(1, 1)
print"test started"
rs.setBundledOutput("Back", 1)
sleep "2"
rs.setBundledOutput("Back", 2)
sleep "2"
rs.setBundledOutput("Back", 4)
sleep "2"
rs.setBundledOutput("Back", 8)
sleep "2"
print "done"
The setup;
What It should do (See thumbnail 2 for visual aid);
Middle Piston retracts
Left Piston retracts
Right Piston extends
Middle Piston extends
Flip toggle latch, turn on wireless transmitter
This is a test for retracting a dirt block, extending a lamp and turning the lamp on.
If I can make this work, I want to do it in reverse and automate it with a Light Sensor.
Hope someone can help me
P.s. This is my first time doing anything with computercraft.