FM3080-Light LED for different colors for different duration by command


Command:LEDONI$
Parameter:
C, the color of LED:0C - Red, 1C - White, 2C - Green, 3C – Blue.
D, the duration of LED: for example 2000D means 2000ms, range 10 – 3600000.
Example:
Red, 6000ms
~<SOH>0000#LEDONI0C6000D;<ETX>
7E 01 30 30 30 30 23 4c 45 44 4f 4e 49 30 43 36 30 30 30 44 3B 03
Green, 3000ms
~<SOH>0000#LEDONI2C3000D;<ETX>
7E 01 30 30 30 30 23 4c 45 44 4f 4e 49 32 43 33 30 30 30 44 3B 03
Todos los comentarios (0)