This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
starwind's profile picture

Need help controlling frame motors with computercraft

Started by starwind, 10 November 2012 - 04:11 AM
starwind #1
Posted 10 November 2012 - 05:11 AM
Hi :unsure:/>/>

title kinda says it all

I do have a server for my own where i have tekkit installed on, and i have been poking around with the idea to use 2 frame motors as a door

and would be cool to have computercraft controlling them with password


but, i got no idea how


i got 2 motors, 1 to close and 1 to open and it need 4 redstone signal (pulses)? to close and open the door

Anyone got an idea how i can do this?

i also got 2 monitors connected to the computer, one outside and 1 inside
remiX #2
Posted 10 November 2012 - 06:43 AM
I made a code long ago just for this :unsure:/>/> You can use it if you want. Check it out here.

You will obviously have to change which sides the redstone signals go to, but that's easy.
starwind #3
Posted 10 November 2012 - 07:25 AM
woot that is amazing :unsure:/>/>

tyvm for this ^_^/>/>



tho sorry for beeing noob, to load this into the computer in minecraft, is there a way to import it from my pc?
remiX #4
Posted 10 November 2012 - 12:35 PM
Yes, if it is your server or single-player
1) You can either put it into your modsComputerCraftluaromprograms folder
2) Or put it into a specific ID of a computer in world (The folder is called world, not your world name)

If it isn't your server and if HTTP API is enabled:
Type this into the computer:
pastebin get yMV9pya4 startup
And then then type 'reboot' into the computer :unsure:/>/>