The status of the Spike device for all layers.
| Name | Type |
Array size |
Description |
| layer[4] |
SpikeStatus |
4 |
Spike status data for all four layers. |
| union |
| layer1 |
SpikeStatus |
|
Spike status data for layer one. |
| layer2 |
SpikeStatus |
|
Spike status data for layer two. |
| layer3 |
SpikeStatus |
|
Spike status data for layer three. |
| layer4 |
SpikeStatus |
|
Spike status data for layer four. |
Variables
spikeDevices
Source: lib/modules/spike.whl, line: 71
Spike device status data.
Procedures
spikeLayerStart
Source: lib/modules/spike.whl, line: 74
Start reading updates from the Spike devices.
proc spikeLayerStart()
spikeLayerClearLeds
Source: lib/modules/spike.whl, line: 80
Set the brightness of a led in the matrix.
proc spikeLayerClearLeds(number layer)
Parameters:
| Name | Type | Description |
| layer | number | The layer. |
spikeLayerSetLed
Source: lib/modules/spike.whl, line: 87
Set the brightness of a led in the matrix.
proc spikeLayerSetLed(number layer, number x, number y, number brightness)
Parameters:
| Name | Type | Description |
| layer | number | The layer. |
| x | number | The column. |
| y | number | The row. |
| brightness | number | The let brightness. |
spikeLayerSetText
Source: lib/modules/spike.whl, line: 97
Show a text on the led matrix.
proc spikeLayerSetText(number layer, string text)
Parameters:
| Name | Type | Description |
| layer | number | |
| text | string | The text. |