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

Redstone activation

Started by Hello World!, 12 March 2015 - 06:29 PM
Hello World! #1
Posted 12 March 2015 - 07:29 PM
Hello everyone!

I'm new to ComputerCraft and so I have a question:
What is the LUA-code to let a computer do something after it has been "touched" by active alloy wire?

Thx! :)/>
HPWebcamAble #2
Posted 12 March 2015 - 10:35 PM
Here's a tutorial on the forums on how to interact with Redstone:
http://www.computerc...-and-setoutput/

If you have programmed in other languages before, it shouldn't take too long before you pick up CC's Lua.
Otherwise, you'll want to check out the tutorials section for a few basic tutorials first.

Also, here is the Lua Reference Manual. For, you know, reference.
http://www.lua.org/manual/5.1/
(CC uses Lua 5.1)


After you've tried to make a program, if you run into any problems, feel free to ask for help
Edited on 12 March 2015 - 09:35 PM
Hello World! #3
Posted 13 March 2015 - 06:22 AM
Thanks!
I'll check it out.