Add custom impl of output; drop ev3-api

This commit is contained in:
Michal Moskal
2017-07-11 16:58:51 +02:00
parent 02e45762b4
commit 340d5e5cbf
5 changed files with 35 additions and 14 deletions

2
libs/core/dal.d.ts vendored
View File

@ -2,6 +2,7 @@
declare const enum DAL {
// built/dockermake/pxtapp/ev3const.h
NUM_INPUTS = 4,
NUM_OUTPUTS = 4,
LCD_WIDTH = 178,
LCD_HEIGHT = 128,
NUM_BUTTONS = 6,
@ -45,6 +46,7 @@ declare const enum DAL {
CONN_OUTPUT_TACHO = 125,
CONN_NONE = 126,
CONN_ERROR = 127,
opProgramStart = 0x03,
opOutputGetType = 0xA0,
opOutputSetType = 0xA1,
opOutputReset = 0xA2,