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

View File

@@ -2,6 +2,7 @@
#define __PXT_EV3CONST_H
#define NUM_INPUTS 4
#define NUM_OUTPUTS 4
#define LCD_WIDTH 178
#define LCD_HEIGHT 128
#define NUM_BUTTONS 6
@@ -52,6 +53,7 @@
#define CONN_NONE 126
#define CONN_ERROR 127
#define opProgramStart 0x03
#define opOutputGetType 0xA0
#define opOutputSetType 0xA1
#define opOutputReset 0xA2