1) Main board blocks

Main board
Events - 图1
Main board BLE
1.1)
Events - 图2
This is a commonly used programming block to start the program, meaning the program will start when the wire is connected.
Example 1:
Events - 图3
When start, RGB LEDs always show red lights.
1.2)
Events - 图4
Broadcast blocks require both a broadcaster and a receiver to execute the program together to complete the action. Firstly, you need to set the radio group. Secondly, the initiator could start to send a broadcast message. After receiving the message, the receiver will do the next action. The characters of a broadcast name can be 12 maximum. The input range of a radio group is 1-64.
Example 2:
Events - 图5
Program 1
Events - 图6
Program 2
It requires two main boards to write the two programs in the above respectively. When the two boards start, board A will broadcast in 2 seconds. Then board B receives the message and the LED matrix will show the string “hello”.
1.3)
Events - 图7
This programming block controls the broadcaster to stop broadcasting.
Example 3:
Events - 图8
Program 1
Events - 图9
Program 2
It requires two mainboards to write the two programs in the above respectively. When the two mainboards start, board A will broadcast in 2 seconds. Then board B receives the message and RGB LEDs will show red lights and execute the following programs. After 4 seconds, board A stops broadcasting and board B stops executing other programs.
1.4)
Events - 图10
As a block to start a program, the timer will start to work as the program starts and will time from 0. The timer module will be triggered once when the timer value is beyond the value that is set. No more trigger will happen thereafter.
Example 4:
Events - 图11
When start, RGB LEDs will show red lights 3 seconds after the program starts.


2) Twin button blocks

Events - 图12
2.1)
Events - 图13
As a block to start a program, this block controls the twin button to have many actions.
Events - 图14
At most 4 buttons are allowed to connect.
Events - 图15
Each twin button supports three button-press combinations.
Events - 图16
Each twin button can be either pressed or held.
Example 5:
Events - 图17
When twin button A is clicked, RGB LEDs will show red lights.


3) 9-axis motion sensor blocks

Events - 图18
3.1)
Events - 图19
As a block to start a program, this block controls 9-axis motion sensor to send commands when in some certain poses.
Events - 图20
There are 8 built-in recognisable motions.
Example 6:
Events - 图21
When 9-axis motion sensor faces up, then RGB LEDs always show red lights.


4) PIR motion sensor blocks

Events - 图22
4.1)
Events - 图23
As a block to start a program, this block controls 9-axis motion sensor to send commands when detecting people or animals.
Example 7:
Events - 图24
When PIR motion sensor detects someone, RGB LEDs show red lights.


5) Mech Key blocks

Events - 图25
5.1)
Events - 图26
As a block to start a program, this block controls mech keys to have many different motions.
Events - 图27
At most 4 mech keys are allowed to connect.
Events - 图28
Each mech key can be pressed or held.
Example 8:
Events - 图29
When 1 mech key is clicked, RGB LEDs will show red lights.


6) Knob blocks

Events - 图30
6.1)
Events - 图31
As a block to start a program, this block controls the knob to have many different motions.
Events - 图32
At most 4 buttons are allowed to connect.
Events - 图33
It supports 3 motions.
Example 9:
Events - 图34
When 1 knob is rotated clockwise, RGB LEDs will show red lights.


7) Gesture Sensor blocks

Events - 图35
7.1)
Events - 图36
As a block to start a program, this block controls the gesture sensor to send commands when detects gestures.
Events - 图37
At most 9 gestures can be detected.
Example 10:
Events - 图38
When the gesture sensor detects “swipe left”, RGB LEDs will show red lights.


8) Touchpad blocks

Events - 图39
8.1)
Events - 图40
As a block to start a program, this block controls multiple touchpad pins to give commands.
Events - 图41
At most 4 touchpads are allowed to connect.
Events - 图42
Each touchpad has 4 pins.
Example 11:
Events - 图43
When touchpad pin 1 is pressed, RGB LEDs show red lights.