X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mTaskInterpret.dcl;h=01059445763fe23c110829eba163e53af4d050a3;hb=f90517d738696125a067f113edf93f404873115b;hp=0cf8ef37e136bafbddb52436e4460b5ac1235cb3;hpb=5ffe54378cb4b91ee2a5717d57c1bf4ba4ca563e;p=mTask.git diff --git a/mTaskInterpret.dcl b/mTaskInterpret.dcl index 0cf8ef3..0105944 100644 --- a/mTaskInterpret.dcl +++ b/mTaskInterpret.dcl @@ -50,6 +50,9 @@ decode :: String -> MTaskMSGRecv | BCJmp Int | BCJmpT Int | BCJmpF Int + //UserLED + | BCLedOn [Char] + | BCLedOff [Char] //Serial | BCSerialAvail | BCSerialPrint @@ -81,12 +84,14 @@ instance toByteCode Char instance toByteCode String instance toByteCode Long instance toByteCode Button +instance toByteCode UserLED instance toChar Pin instance arith ByteCode instance boolExpr ByteCode instance analogIO ByteCode instance digitalIO ByteCode +instance userLed ByteCode //instance If ByteCode Stmt Stmt Stmt //instance If ByteCode e Stmt Stmt //instance If ByteCode Stmt e Stmt