1'''
2LED - LED_control.py.
3
4This example demonstrates how to control LED.
5
6For other examples please check:
7 https://github.com/WPC-Systems-Ltd/WPC_Stand-alone_Python_release/tree/main/examples
8
9Copyright (c) 2024 WPC Systems Ltd.
10All rights reserved.
11'''
12
13## WPC
14import pywpc
15
16## Python
17import time
18
19## Reset LED
20pywpc.LED_reset()
21
22## Set LED to blue
23pywpc.LED_setBlue()
24time.sleep(0.5)
25
26## Set LED to green
27pywpc.LED_setGreen()
28time.sleep(0.5)
29
30## Set LED to red
31pywpc.LED_setRed()