repositories
/
mTask.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add arduino uno compatability
[mTask.git]
/
mTaskInterpret.icl
diff --git
a/mTaskInterpret.icl
b/mTaskInterpret.icl
index
ef75b9a
..
8b489d8
100644
(file)
--- a/
mTaskInterpret.icl
+++ b/
mTaskInterpret.icl
@@
-158,8
+158,7
@@
instance fromByteCode MTaskDeviceSpec where
|haveLed=(c bitand 1) > 0
,haveAio=(c bitand 2) > 0
,haveDio=(c bitand 4) > 0
|haveLed=(c bitand 1) > 0
,haveAio=(c bitand 2) > 0
,haveDio=(c bitand 4) > 0
- ,maxTask=from16bit $ s % (1,3)
- ,maxSDS=from16bit $ s % (3,5)
+ ,bytesMemory=from16bit $ s % (1,3)
}
derive gPrint Long, UserLED, Button, AnalogPin, DigitalPin, PinMode, Pin, BC, MTaskDeviceSpec
}
derive gPrint Long, UserLED, Button, AnalogPin, DigitalPin, PinMode, Pin, BC, MTaskDeviceSpec