Im new to this mod and to lua. Im trying to start with a simple program that can read redstone signals and detect their levels.
I have basic lua knowledge, knowing commands like [do], [if], [if else], [read] and [while]. A bit of boolean [True, false] and create variables.
I made a small computer with the redstone card (and the essentials like EEPROM, GPU, CPU and RAM). Its connected with red wires from red power that are connceted to a lever. I have the compat module from redpower installed.
My main question is what I need to write in the .lua file to be able to use the redston