fix half adder, fix rom not loading data on backend reconnect, fix robot planting overlaps
This commit is contained in:
parent
24daeae79b
commit
949aeaa2c8
@ -19,7 +19,7 @@ datablock fxDTSBrickData(LogicGate_HalfAdder_Data)
|
||||
logicUpdate =
|
||||
"return function(gate) " @
|
||||
" Gate.setportstate(gate, 3, bit.bxor(Gate.getportstate(gate, 1), Gate.getportstate(gate, 2))) " @
|
||||
" Gate.setportstate(gate, 4, (Gate.getportstate(gate, 1) and Gate.getportstate(gate, 2)) and 1 or 0) " @
|
||||
" Gate.setportstate(gate, 4, Gate.getportstate(gate, 1)*Gate.getportstate(gate, 2)) " @
|
||||
"end"
|
||||
;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user