Posted 13 September 2012 - 10:21 PM
Hello all. today I decided to jump in the deep and try using computercraft to actually write codes for the first time.
I already have something I want to do, and I tried reading some tutorials, but I don't really have the right idea yet on how to write a code.
to explain it really simple, ontop of the computer is a block with a button, on the back is a bundled cable, leading to 3 colored cables, white, orange and magenta.
what I want to have the program do is when it receives a redstone pulse ontop, through the button, I want the white cable to switch on, and the orange cable to pulse 3 times.
if the button gets pressed again, the white cable switches off, and the magenta cable gets pulsed 3 times, and then the program waits for a redstone pulse to switch on white again, and pulse orange 3 times.
what I am trying to do is using redpower frames to have a hidden door with behind a nether portal, that gets activated/deactivated through an igniter when the hidden door opens/closes.
I know there's a program to use redpulse with, but I don't know how to use it with bundledcables.
I hope someone can help me with this :)/>/>
I already have something I want to do, and I tried reading some tutorials, but I don't really have the right idea yet on how to write a code.
to explain it really simple, ontop of the computer is a block with a button, on the back is a bundled cable, leading to 3 colored cables, white, orange and magenta.
what I want to have the program do is when it receives a redstone pulse ontop, through the button, I want the white cable to switch on, and the orange cable to pulse 3 times.
if the button gets pressed again, the white cable switches off, and the magenta cable gets pulsed 3 times, and then the program waits for a redstone pulse to switch on white again, and pulse orange 3 times.
what I am trying to do is using redpower frames to have a hidden door with behind a nether portal, that gets activated/deactivated through an igniter when the hidden door opens/closes.
I know there's a program to use redpulse with, but I don't know how to use it with bundledcables.
I hope someone can help me with this :)/>/>