Skip to main content

R_ON / R_OFF

Syntax​

R_ON or R_OFF

Description​

Turns the red indicator LED on or off. The LED state is also shown on the device screen.

Response​

OK R_ON
OK R_OFF

Example​

r_on_r_off.py
import time
from hmcls_udp import Board

board = Board("192.168.1.11")
board.request("R_ON")
time.sleep(1)
board.request("R_OFF")