Closed mojo123410 closed 7 years ago
Looks like you forgot to load the component library.
local component = require("component")
local sides = require("sides")
component.redstone.setOutput(sides.front, 15)
This is being done automatically in the lua
interpreter, so it's not necessary there.
thank you I am new to lua programing and I was completely stumped because I have not found much documentation on coding in open computers
This is more or less standard Lua behaviour. Check out the manual (or the Lua 5.3 version).
thank you I will
when in the lua interrupter it works fine and I can even set a variable to it but when using it inside of a program it gives me the response