Hello there. I made a small little code that would turn on and off a wireless reciever from WR-CBE Logic. It used to work and then it just stopped. Is there something missing?
local term = require("term")
local component = require("component")
local rs = component.redstone
print("Enter Freq")
term.write("Freq: ")
x1 = io.read()
freq = tonumber(x1)
rs.setWirelessFrequency(freq)
rs.setWirelessOutput(true)
os.sleep(3)
rs.setWirelessOutput(false)