|
C4EV3
|
Macros | |
| #define | OUT_POWER_DEFAULT -127 |
| #define | DEVICE_TYPE_NXT_TOUCH 1 |
| Device is NXT touch sensor. More... | |
| #define | DEVICE_TYPE_NXT_LIGHT 2 |
| Device is NXT light sensor. More... | |
| #define | DEVICE_TYPE_NXT_SOUND 3 |
| Device is NXT sound sensor. More... | |
| #define | DEVICE_TYPE_NXT_COLOR 4 |
| Device is NXT color sensor. More... | |
| #define | DEVICE_TYPE_TACHO 7 |
| Device is a tacho motor. More... | |
| #define | DEVICE_TYPE_MINITACHO 8 |
| Device is a mini tacho motor. More... | |
| #define | DEVICE_TYPE_NEWTACHO 9 |
| Device is a new tacho motor. More... | |
| #define | DEVICE_TYPE_THIRD_PARTY_START 50 |
| #define | DEVICE_TYPE_THIRD_PARTY_END 99 |
| #define | DEVICE_TYPE_IIC_UNKNOWN 100 |
| #define | DEVICE_TYPE_NXT_TEST 101 |
| Device is a NXT ADC test sensor. More... | |
| #define | DEVICE_TYPE_NXT_IIC 123 |
| Device is NXT IIC sensor. More... | |
| #define | DEVICE_TYPE_TERMINAL 124 |
| Port is connected to a terminal. More... | |
| #define | DEVICE_TYPE_UNKNOWN 125 |
| Port not empty but type has not been determined. More... | |
| #define | DEVICE_TYPE_NONE 126 |
| Port empty or not available. More... | |
| #define | DEVICE_TYPE_ERROR 127 |
| Port not empty and type is invalid. More... | |
| #define | MAX_DEVICE_DATALENGTH 32 |
| #define | MAX_DEVICE_MODES 8 |
| #define | UART_DATA_LENGTH MAX_DEVICE_DATALENGTH |
| #define | UART_BUFFER_SIZE 64 |
| #define | TYPE_NAME_LENGTH 11 |
| #define | SYMBOL_LENGTH 4 |
| #define | DEVICE_LOGBUF_SIZE 300 |
| #define | IIC_DATA_LENGTH MAX_DEVICE_DATALENGTH |
| #define | IIC_NAME_LENGTH 8 |
| #define | NXTCOLOR_IDX_RED 0 |
| Access the red value from color sensor value arrays. More... | |
| #define | NXTCOLOR_IDX_GREEN 1 |
| Access the green value from color sensor value arrays. More... | |
| #define | NXTCOLOR_IDX_BLUE 2 |
| Access the blue value from color sensor value arrays. More... | |
| #define | NXTCOLOR_IDX_BLANK 3 |
| Access the blank value from color sensor value arrays. More... | |
| #define | NUM_NXTCOLOR_IDX 4 |
| The number of entries in the color sensor value arrays. More... | |
| #define | NXTCOLOR_CAL_POINT_0 0 |
| Calibration point 0. More... | |
| #define | NXTCOLOR_CAL_POINT_1 1 |
| Calibration point 1. More... | |
| #define | NXTCOLOR_CAL_POINT_2 2 |
| Calibration point 2. More... | |
| #define | NUM_NXTCOLOR_CAL_POINTS 3 |
| The number of calibration points. More... | |
| #define | INPUT_BLACKCOLOR 1 |
| The color value is black. More... | |
| #define | INPUT_BLUECOLOR 2 |
| The color value is blue. More... | |
| #define | INPUT_GREENCOLOR 3 |
| The color value is green. More... | |
| #define | INPUT_YELLOWCOLOR 4 |
| The color value is yellow. More... | |
| #define | INPUT_REDCOLOR 5 |
| The color value is red. More... | |
| #define | INPUT_WHITECOLOR 6 |
| The color value is white. More... | |
| #define | FILETYPE_UNKNOWN 0x00 |
| #define | FILETYPE_FOLDER 0x01 |
| #define | FILETYPE_SOUND 0x02 |
| #define | FILETYPE_BYTECODE 0x03 |
| #define | FILETYPE_GRAPHICS 0x04 |
| #define | FILETYPE_DATALOG 0x05 |
| #define | FILETYPE_PROGRAM 0x06 |
| #define | FILETYPE_TEXT 0x07 |
| #define | FILETYPE_SDCARD 0x10 |
| #define | FILETYPE_USBSTICK 0x20 |
| #define | NUM_FILETYPES 0x21 |
| Maximum icon types supported by the VM. More... | |
| #define | FONTTYPE_NORMAL 0 |
| #define | FONTTYPE_SMALL 1 |
| #define | FONTTYPE_LARGE 2 |
| #define | FONTTYPE_TINY 3 |
| #define | NUM_FONTTYPES 4 |
| Maximum font types supported by the VM. More... | |
| #define | ICONTYPE_NORMAL 0 |
| #define | ICONTYPE_SMALL 1 |
| #define | ICONTYPE_LARGE 2 |
| #define | ICONTYPE_MENU 3 |
| #define | ICONTYPE_ARROW 4 |
| #define | NUM_ICONTYPES 5 |
| Maximum icon types supported by the VM. More... | |
| #define | NICON_NONE -1 |
| #define | NICON_RUN 0 |
| #define | NICON_FOLDER 1 |
| #define | NICON_FOLDER2 2 |
| #define | NICON_USB 3 |
| #define | NICON_SD 4 |
| #define | NICON_SOUND 5 |
| #define | NICON_IMAGE 6 |
| #define | NICON_SETTINGS 7 |
| #define | NICON_ONOFF 8 |
| #define | NICON_SEARCH 9 |
| #define | NICON_WIFI 10 |
| #define | NICON_CONNECTIONS 11 |
| #define | NICON_ADD_HIDDEN 12 |
| #define | NICON_TRASHBIN 13 |
| #define | NICON_VISIBILITY 14 |
| #define | NICON_KEY 15 |
| #define | NICON_CONNECT 16 |
| #define | NICON_DISCONNECT 17 |
| #define | NICON_UP 18 |
| #define | NICON_DOWN 19 |
| #define | NICON_WAIT1 20 |
| #define | NICON_WAIT2 21 |
| #define | NICON_BLUETOOTH 22 |
| #define | NICON_INFO 23 |
| #define | NICON_TEXT 24 |
| #define | NICON_QUESTIONMARK 27 |
| #define | NICON_INFO_FILE 28 |
| #define | NICON_DISC 29 |
| #define | NICON_CONNECTED 30 |
| #define | NICON_OBP 31 |
| #define | NICON_OBD 32 |
| #define | NICON_OPENFOLDER 33 |
| #define | NICON_BRICK1 34 |
| #define | NUM_NICONS 35 |
| #define | PATH_SIZE 84 |
| Max path size excluding trailing forward slash including zero termination. More... | |
| #define | NAME_SIZE 32 |
| Max name size including zero termination (must be divideable by 4) More... | |
| #define | EXT_SIZE 5 |
| Max extension size including dot and zero termination. More... | |
| #define | FILENAME_SIZE 120 |
| Max filename size including path, name, extension and termination (must be divideable by 4) More... | |
| #define | MAC_SIZE 18 |
| Max WIFI MAC size including zero termination. More... | |
| #define | IP_SIZE 16 |
| Max WIFI IP size including zero termination. More... | |
| #define | BT_SIZE 13 |
| Max bluetooth address size including zero termination. More... | |
| #define BT_SIZE 13 |
Max bluetooth address size including zero termination.
| #define DEVICE_LOGBUF_SIZE 300 |
| #define DEVICE_TYPE_ERROR 127 |
Port not empty and type is invalid.
| #define DEVICE_TYPE_IIC_UNKNOWN 100 |
| #define DEVICE_TYPE_MINITACHO 8 |
Device is a mini tacho motor.
| #define DEVICE_TYPE_NEWTACHO 9 |
Device is a new tacho motor.
| #define DEVICE_TYPE_NONE 126 |
Port empty or not available.
| #define DEVICE_TYPE_NXT_COLOR 4 |
Device is NXT color sensor.
| #define DEVICE_TYPE_NXT_IIC 123 |
Device is NXT IIC sensor.
| #define DEVICE_TYPE_NXT_LIGHT 2 |
Device is NXT light sensor.
| #define DEVICE_TYPE_NXT_SOUND 3 |
Device is NXT sound sensor.
| #define DEVICE_TYPE_NXT_TEST 101 |
Device is a NXT ADC test sensor.
| #define DEVICE_TYPE_NXT_TOUCH 1 |
Device is NXT touch sensor.
| #define DEVICE_TYPE_TACHO 7 |
Device is a tacho motor.
| #define DEVICE_TYPE_TERMINAL 124 |
Port is connected to a terminal.
| #define DEVICE_TYPE_THIRD_PARTY_END 99 |
| #define DEVICE_TYPE_THIRD_PARTY_START 50 |
| #define DEVICE_TYPE_UNKNOWN 125 |
Port not empty but type has not been determined.
| #define EXT_SIZE 5 |
Max extension size including dot and zero termination.
| #define FILENAME_SIZE 120 |
Max filename size including path, name, extension and termination (must be divideable by 4)
| #define FILETYPE_BYTECODE 0x03 |
| #define FILETYPE_DATALOG 0x05 |
| #define FILETYPE_FOLDER 0x01 |
| #define FILETYPE_GRAPHICS 0x04 |
| #define FILETYPE_PROGRAM 0x06 |
| #define FILETYPE_SDCARD 0x10 |
| #define FILETYPE_SOUND 0x02 |
| #define FILETYPE_TEXT 0x07 |
| #define FILETYPE_UNKNOWN 0x00 |
| #define FILETYPE_USBSTICK 0x20 |
| #define FONTTYPE_LARGE 2 |
| #define FONTTYPE_NORMAL 0 |
| #define FONTTYPE_SMALL 1 |
| #define FONTTYPE_TINY 3 |
| #define ICONTYPE_ARROW 4 |
| #define ICONTYPE_LARGE 2 |
| #define ICONTYPE_MENU 3 |
| #define ICONTYPE_NORMAL 0 |
| #define ICONTYPE_SMALL 1 |
| #define IIC_DATA_LENGTH MAX_DEVICE_DATALENGTH |
| #define IIC_NAME_LENGTH 8 |
| #define INPUT_BLACKCOLOR 1 |
The color value is black.
| #define INPUT_BLUECOLOR 2 |
The color value is blue.
| #define INPUT_GREENCOLOR 3 |
The color value is green.
| #define INPUT_REDCOLOR 5 |
The color value is red.
| #define INPUT_WHITECOLOR 6 |
The color value is white.
| #define INPUT_YELLOWCOLOR 4 |
The color value is yellow.
| #define IP_SIZE 16 |
Max WIFI IP size including zero termination.
| #define MAC_SIZE 18 |
Max WIFI MAC size including zero termination.
| #define MAX_DEVICE_DATALENGTH 32 |
| #define MAX_DEVICE_MODES 8 |
| #define NAME_SIZE 32 |
Max name size including zero termination (must be divideable by 4)
| #define NICON_ADD_HIDDEN 12 |
| #define NICON_BLUETOOTH 22 |
| #define NICON_BRICK1 34 |
| #define NICON_CONNECT 16 |
| #define NICON_CONNECTED 30 |
| #define NICON_CONNECTIONS 11 |
| #define NICON_DISC 29 |
| #define NICON_DISCONNECT 17 |
| #define NICON_DOWN 19 |
| #define NICON_FOLDER 1 |
| #define NICON_FOLDER2 2 |
| #define NICON_IMAGE 6 |
| #define NICON_INFO 23 |
| #define NICON_INFO_FILE 28 |
| #define NICON_KEY 15 |
| #define NICON_NONE -1 |
| #define NICON_OBD 32 |
| #define NICON_OBP 31 |
| #define NICON_ONOFF 8 |
| #define NICON_OPENFOLDER 33 |
| #define NICON_QUESTIONMARK 27 |
| #define NICON_RUN 0 |
| #define NICON_SD 4 |
| #define NICON_SEARCH 9 |
| #define NICON_SETTINGS 7 |
| #define NICON_SOUND 5 |
| #define NICON_TEXT 24 |
| #define NICON_TRASHBIN 13 |
| #define NICON_UP 18 |
| #define NICON_USB 3 |
| #define NICON_VISIBILITY 14 |
| #define NICON_WAIT1 20 |
| #define NICON_WAIT2 21 |
| #define NICON_WIFI 10 |
| #define NUM_FILETYPES 0x21 |
Maximum icon types supported by the VM.
| #define NUM_FONTTYPES 4 |
Maximum font types supported by the VM.
| #define NUM_ICONTYPES 5 |
Maximum icon types supported by the VM.
| #define NUM_NICONS 35 |
| #define NUM_NXTCOLOR_CAL_POINTS 3 |
The number of calibration points.
| #define NUM_NXTCOLOR_IDX 4 |
The number of entries in the color sensor value arrays.
| #define NXTCOLOR_CAL_POINT_0 0 |
Calibration point 0.
| #define NXTCOLOR_CAL_POINT_1 1 |
Calibration point 1.
| #define NXTCOLOR_CAL_POINT_2 2 |
Calibration point 2.
| #define NXTCOLOR_IDX_BLANK 3 |
Access the blank value from color sensor value arrays.
| #define NXTCOLOR_IDX_BLUE 2 |
Access the blue value from color sensor value arrays.
| #define NXTCOLOR_IDX_GREEN 1 |
Access the green value from color sensor value arrays.
| #define NXTCOLOR_IDX_RED 0 |
Access the red value from color sensor value arrays.
| #define OUT_POWER_DEFAULT -127 |
| #define PATH_SIZE 84 |
Max path size excluding trailing forward slash including zero termination.
| #define SYMBOL_LENGTH 4 |
| #define TYPE_NAME_LENGTH 11 |
| #define UART_BUFFER_SIZE 64 |
| #define UART_DATA_LENGTH MAX_DEVICE_DATALENGTH |
1.8.6