news
You are here : Home >> news

LED

Time:2024-07-05 Browse: 110

LED

Use commands to send transmissions to control the color change of LED lights.

Specifications:

1. International heart:

int color always defines a color in the usandrummy naboobo color space 4 components packed into a single 32-bit integer value:

Component size range

Brightness 8 bits [0…255]

Red 8 bits [0…255]

Verde 8 bits [0…255]

Azul 8 bits [0…255]

2. Command:

Send change LED broadcast shell command (root):

sou broadcast -a action.CHANGE_LED_COLOR --ei color x

x is a decimal number.

3. Hexadecimal and decimal conversion tables.

Brightness: 0B; Color: 01 light, 70 depth (hexadecimal)

Cor Decimal Hexadecimal

Dark red 0B700000 191889408

Dark green 0B007000 184578048

Dark blue 0B000070 184549488

Light red 0B010000 184614912

Light green 0B000100 184549632

Light blue 0B000001 184549377

Yellow 0B707000 191918080

Purple 0B700070 191889520

Branco 0B707070 191918192

Close the lamp 0 0

k rummy

Copyright © 2024 kurummy.com

WhatsApp

http://kurummy.com