1. 8×16 blue LED matrix[index] shows image[panel] for [time] secs

8×16 blue LED Matrix - 图1

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.
8×16 blue LED Matrix - 图2

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:
8×16 blue LED Matrix - 图3

Example

When you start Halocode, the first LED matrix connected to it displays the image for two seconds.
8×16 blue LED Matrix - 图4


2. 8×16 blue LED matrix [index] shows image [face_panel]

8×16 blue LED Matrix - 图5

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.
8×16 blue LED Matrix - 图6


3. 8×16 blue LED matrix [index] shows image [face_panel] at x: [x] y: [y]

8×16 blue LED Matrix - 图7

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:
8×16 blue LED Matrix - 图8
when you use the block 8×16 blue LED Matrix - 图9, setting the x and y values, the image is displayed in the following position on the LED matrix:
8×16 blue LED Matrix - 图10
Setting range of x: –15 – +15
Setting range of y: –7 – +7

Alternatively, you can put reporter blocks into them, for example:
8×16 blue LED Matrix - 图11

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.

8×16 blue LED Matrix - 图12


4. 8×16 blue LED matrix [index]shows [string]

8×16 blue LED Matrix - 图13

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.

8×16 blue LED Matrix - 图14


5. 8×16 blue LED matrix [index] shows [string]until scroll done

8×16 blue LED Matrix - 图15

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.
8×16 blue LED Matrix - 图16


6. 8×16 blue LED matrix [index]shows [string] with x: [pos_x] y: [pos_y] as starting point

8×16 blue LED Matrix - 图17

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.
8×16 blue LED Matrix - 图18

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).
8×16 blue LED Matrix - 图19


7. 8×16 blue LED matrix [index] lights off

8×16 blue LED Matrix - 图20

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×16 blue LED Matrix - 图21


8. 8×16 blue LED matrix [index] lights up at x: [pos_x] y: [pos_y]

8×16 blue LED Matrix - 图22

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.
8×16 blue LED Matrix - 图23

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.

8×16 blue LED Matrix - 图24


9. 8×16 blue LED matrix [index] lights off at x: [pos_x] y: [pos_y]

8×16 blue LED Matrix - 图25

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.
8×16 blue LED Matrix - 图26

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.
8×16 blue LED Matrix - 图27


10. 8×16 blue LED matrix[index] switches between on and off at x: [pos_x] y: [pos_y]

8×16 blue LED Matrix - 图28

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.
8×16 blue LED Matrix - 图29

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.

8×16 blue LED Matrix - 图30


11. 8×16 blue LED matrix [index] x: [pos_x] y: [pos_y] is lighted?

8×16 blue LED Matrix - 图31

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.
8×16 blue LED Matrix - 图32

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.

8×16 blue LED Matrix - 图33