This file contains EV3 system procedures.
MODULE_SYSTEM | 9 |
SYSTEM_GET_BATTERY_VOLTAGE | 0 |
SYSTEM_GET_BATTERY_CURRENT | 1 |
SYSTEM_GET_BATTERY_LEVEL | 2 |
SYSTEM_GET_VOLUME | 3 |
SYSTEM_SET_VOLUME | 4 |
SYSTEM_GET_POWER_OFF_MINUTES | 5 |
SYSTEM_SET_POWER_OFF_MINUTES | 6 |
SYSTEM_GET_BRICKNAME | 7 |
SYSTEM_SET_BRICKNAME | 8 |
SYSTEM_GET_MEMORY_TOTAL | 9 |
SYSTEM_GET_MEMORY_FREE | 10 |
Get the battery voltage.
proc getBatteryVoltage()
Get the battery current.
proc getBatteryCurrent()
Get the battery level.
proc getBatteryLevel()
Get the sound volume.
proc getVolume()
Get the sound volume.
proc setVolume(number volume)
Name | Type | Description |
---|---|---|
volume | number | The sound volume. |
Get the power off time.
proc getPowerOffMinutes()
Set the power off time.
proc setPowerOffMinutes(number time)
Name | Type | Description |
---|---|---|
time | number | The power off time. |
Get the brick name.
proc getBrickName(string brickName)
Name | Type | Description |
---|---|---|
brickName | string | The brick name. |
Set the brick name.
proc setBrickName(string brickName)
Name | Type | Description |
---|---|---|
brickName | string | The brick name. |
Get the total available memory in KB.
proc getMemoryTotal()
Get the free available memory in KB.
proc getMemoryFree()