code cleanup and bugfixes

This commit is contained in:
Mikayla Fischler
2022-05-10 12:01:56 -04:00
parent d7e38d6393
commit 168341db39
12 changed files with 48 additions and 27 deletions

View File

@@ -27,7 +27,7 @@ redstone_rtu.new = function ()
return digital_read(rs.getInput(side))
end
end
self.rtu.connect_di(f_read)
end
@@ -61,7 +61,7 @@ redstone_rtu.new = function ()
rs.setOutput(side, digital_is_active(channel, level))
end
end
self.rtu.connect_coil(f_read, f_write)
end