add io brick, misc fixes

This commit is contained in:
Redo
2024-06-22 18:17:21 -06:00
parent 38351b8a3e
commit a25f184c94
21 changed files with 12570 additions and 46 deletions

View File

@@ -0,0 +1,9 @@
return function(gate)
Gate.cb(gate,
Gate.getportstate(gate, 1) +
Gate.getportstate(gate, 2)*2 +
Gate.getportstate(gate, 3)*4 +
Gate.getportstate(gate, 4)*8
)
end