mirror of
https://github.com/XeonSquared/OC-Copper.git
synced 2024-11-13 13:28:05 +11:00
Fix inverted RS signal
how do I make mistakes in a row like this???
This commit is contained in:
parent
e582a8e7ce
commit
30849ec199
@ -3,7 +3,7 @@
|
||||
%-- EXAMPLE IoT Redstone Top Controller --
|
||||
|
||||
UR=CG("redstone")
|
||||
UM={["true"]=0,["false"]=15}
|
||||
UM={["true"]=15,["false"]=0}
|
||||
function UT(p)
|
||||
if UM[p]then
|
||||
US=p
|
||||
|
@ -53,7 +53,7 @@ TS(t,g..S.char(a,1)..d)x=RP(j,R4)end
|
||||
RN[t..g]=x
|
||||
end j()end
|
||||
-- EXAMPLE IoT Redstone Top Controller --
|
||||
UR=CG("redstone")UM={["true"]=0,["false"]=15}function UT(p)if UM[p]then
|
||||
UR=CG("redstone")UM={["true"]=15,["false"]=0}function UT(p)if UM[p]then
|
||||
US=p
|
||||
UR.setOutput(1,UM[p])end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user