- 1. 8×16 blue LED matrix[index] shows image[panel] for [time] secs
- 2. 8×16 blue LED matrix [index] shows image [face_panel]
- 3. 8×16 blue LED matrix [index] shows image [face_panel] at x: [x] y: [y]
- 4. 8×16 blue LED matrix [index]shows [string]
- 5. 8×16 blue LED matrix [index] shows [string]until scroll done
- 6. 8×16 blue LED matrix [index]shows [string] with x: [pos_x] y: [pos_y] as starting point
- 7. 8×16 blue LED matrix [index] lights off
- 8. 8×16 blue LED matrix [index] lights up at x: [pos_x] y: [pos_y]
- 9. 8×16 blue LED matrix [index] lights off at x: [pos_x] y: [pos_y]
- 10. 8×16 blue LED matrix[index] switches between on and off at x: [pos_x] y: [pos_y]
- 11. 8×16 blue LED matrix [index] x: [pos_x] y: [pos_y] is lighted?
1. 8×16 blue LED matrix[index] shows image[panel] for [time] secs
Displays the specified image on the specified LED matrix for the specified period
How to Use
The number in this block indicates the place of an LED matrix among the ones connected to Halocode. As shown in the following figure, the number 1 indicates the first LED matrix connected to Halocode, 2 indicates the second one, and so on.
The image and time can be defined. Click to set them.
Alternatively, you can put a reporter block of the numeric type into it, for example:
Example
When you start Halocode, the first LED matrix connected to it displays the image for two seconds.
2. 8×16 blue LED matrix [index] shows image [face_panel]
Displays the specified image on the specified LED matrix
How to Use
The image can be defined. Click to set it.
Example
When you start Halocode, the first LED matrix connected to Halocode displays the image.
3. 8×16 blue LED matrix [index] shows image [face_panel] at x: [x] y: [y]
Displays the specified image in the specified position of the specified LED matrix
How to Use
The image and coordinates can be defined. Click to set them.
Note: The LED matrix is a matrix panel of 8 (0–7) × 16 (0–15) points. The value of x indicates the number of horizontal offset points. A positive value indicate right offset, and a negative one indicates left offset. The value of y indicates the number of vertical offset points. A positive value indicates downward offset, and a negative one indicates upward offset.
For example, if the image is designed as follows:
when you use the block , setting the x and y values, the image is displayed in the following position on the LED matrix:
Setting range of x: –15 – +15
Setting range of y: –7 – +7
Alternatively, you can put reporter blocks into them, for example:
Example
When you press the space key, the first LED matrix connected to Halocode displays the image. Compared to the default display position, the image moves two points to the right and one point upward.
4. 8×16 blue LED matrix [index]shows [string]
Displays the specified character string on the specified LED matrix
How to Use
This block supports the display of only Latin characters, numbers, and symbols.
The character string can be defined. Click to set it.
Example
When you press the space key, the first LED matrix connected to Halocode displays Hello.
5. 8×16 blue LED matrix [index] shows [string]until scroll done
Displays the specified character string on the specified LED matrix and executes the subsequent block after the scrolling ends
How to Use
This block supports the display of only Latin characters, numbers, and symbols.
The character string can be defined. Click to set it.
Example
When you press the space key, the first LED matrix connected to Halocode displays Hello in scrolling mode, and Halocode lights up its LEDs in red after the scrolling ends.
6. 8×16 blue LED matrix [index]shows [string] with x: [pos_x] y: [pos_y] as starting point
Displays the specified character string at the specified start point (x, y) on the specified LED matrix
How to Use
This block supports the display of only Latin characters, numbers, and symbols.
The character string can be defined. Click to set it.
The following figure shows the coordinates of the LED matrix.
Setting range of x: 0–15
Setting range of y: 0–7
Example
When you press the space key, the first LED matrix connected to Halocode displays Hello at the start point of (2,2).
7. 8×16 blue LED matrix [index] lights off
Turns off the specified LED matrix
How to Use
Halocode can be connected to multiple LED matrixes. Click to select the number of the LED matrix you want to turn off from the drop-down list box.
Example
When you press the space key, the first LED matrix connected to Halocode is turned off.
8. 8×16 blue LED matrix [index] lights up at x: [pos_x] y: [pos_y]
Turns on the specified point (x,y) on the specified LED matrix
How to Use
The coordinates of the point can be defined. Click to set the coordinates.
The LED matrix is a matrix panel of 8 (0–7) × 16 (0–15) points, with the origin in the upper left corner.
Setting range of x: 0–15
Setting range of y: 0–7
Example
When you press the space key, the point (7,4) on the first LED matrix connected to Halocode lights up.
9. 8×16 blue LED matrix [index] lights off at x: [pos_x] y: [pos_y]
Turns off the specified point (x,y) on the specified LED matrix
How to Use
The coordinates of the point can be defined. Click to set the coordinates.
The LED matrix is a matrix panel of 8 (0–7) × 16 (0–15) points, with the origin in the upper left corner.
Setting range of x: 0–15
Setting range of y: 0–7
Example
When you press the space key, the first LED matrix connected to Halocode displays the specified image, and the point (7,4) lights off in two seconds.
10. 8×16 blue LED matrix[index] switches between on and off at x: [pos_x] y: [pos_y]
Changes the state of the specified point (x,y) on the specified LED matrix
How to Use
The coordinates of the point can be defined. Click to set the coordinates.
The LED matrix is a matrix panel of 8 (0–7) × 16 (0–15) points, with the origin in the upper left corner.
Setting range of x: 0–15
Setting range of y: 0–7
Example
When you press the space key, the first LED matrix connected to Halocode displays the specified image, the point (7,4) lights off in two seconds, and two seconds later, the point lights up again.
11. 8×16 blue LED matrix [index] x: [pos_x] y: [pos_y] is lighted?
Determines whether the specified point (x,y) on the specified LED matrix is turned on
How to Use
The coordinates of the point can be defined. Click to set the coordinates.
The LED matrix is a matrix panel of 8 (0–7) × 16 (0–15) points, with the origin in the upper left corner.
Setting range of x: 0–15
Setting range of y: 0–7
Note: This is a Boolean block that contains a condition. Use it in combination with another block that requires a condition.
Example
When you press the space key, the first LED matrix connected to Halocode displays the specified image, and the point (7,4) lights off in one second.