View difference between Paste ID: LAiEKyA1 and bgxhJpL1
SHOW: | | - or go back to the newest paste.
1
local modem = peripheral.wrap("back") -- Wraps the modem on the right side.
2
3
local compSide = "left"
4-
os.loadAPI("ocs/apis/sensor")
4+
5-
powerSensor = sensor.wrap("left")
5+
6
	local reading = redstone.getAnalogInput(compSide)
7-
local mfsuKey = "0,0,-1"
7+
	print("mana level: " ..reading)
8
	modem.transmit(2, 2, reading ) 
9-
function mfsuCheck()
9+
10-
	local sensorReading = {}
10+