Skip to main content

G_ON / G_OFF

Syntax​

G_ON or G_OFF

Description​

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

Response​

OK G_ON
OK G_OFF

Example​

g_on_g_off.py
import time
from hmcls_udp import Board

board = Board("192.168.1.11")
board.request("G_ON")
time.sleep(1)
board.request("G_OFF")