LED Panel

Set Light auto_sync

set_led(mode, speed, color)
  • Parameters
    • mode: Light mode.
      • 0 No change.
      • 1 Off.
      • 2 Constant on.
      • 3 Breathing.
      • 4 Equally divided rotation.
      • 5 Same color rotation.
      • 6 Flashing.
    • speed: Speed.
      • 1 Fast.
      • 2 Normal.
      • 3 Slow.
    • color: Up to 4 integers between 0 and 15, corresponding to the following colors:
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
Example Program
set_led(1, 2, {1, 2, 3, 4})

Set Sound auto_sync

set_voice(voice, volume)
  • Parameters
    • voice: Sound list.
      • 0 No change
      • 1 Xiaobai is starting up, please wait
      • 2 Xiaobai is trying to stop
      • 3 Warning, collision detected
      • 4 Updating, please wait
      • 5 Teaching mode enabled
      • 6 Teaching mode exited
      • 7 Fine-tuning started
      • 8 Fine-tuning ended
      • 9 Fine-tuning direction changed
      • 10 Xiaobai is bored, let's play a game together
    • volume: Volume.
      • 0 Mute.
      • 1 Low.
      • 2 Normal.
      • 3 High.
Example Program
set_voice(1, 2)

Switch Fan auto_sync

set_fan(status)

Note

When the system detects that the robot's operating temperature is too high, it will automatically turn on the cooling fan.

  • Parameters
    • status:
      • 1 Off.
      • 2 On.
Example Program
set_fan(2)