LAN

 

1. set up LAN named ()

Set up a LAN  with a specified name

0.png

 

示例:

1.png

When Halocode starts up, set up a LAN  which named "mesh1".


2. join LAN named ()

Join the specified LAN named

2.png

 

示例:

3.png

When Halocode starts up, set up and join a LAN named "mesh1".


3. broadcast () on LAN

broadcast a specific message on LAN

4.png

 

示例:

5.png

When Halocode starts up, set up and join a LAN named "mesh1",and then broadcast "message" on LAN.

 

4. broadcast () on LAN with value ()

Broadcast the specified message with the specified value on LAN.

6.png

 

Example:

7.png

When Halocode starts up, set up and join a LAN named "mesh1", and then broadcast "message" with the value "1" on LAN.


5. when receiving LAN broadcast ()

When the specified LAN broadcast is received, run the script.

8.png

 

Example:

9.png

When Halocode receives LAN broadcast "message", all the LEDs will light up green.


6. LAN message () value received

Report the value sent with the specified LAN broadcast.

00.png

 

Example:

000.png

When Halocode receives LAN broadcast "message", if the value received with the message is "1", all the LEDs will light up green.


Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.