DONT execute main file
1
2'''
3System - not_execute_main_py.py.
4
5For other examples please check:
6 https://github.com/WPC-Systems-Ltd/WPC_Stand-alone_Python_release/tree/main/examples
7
8Copyright (c) 2025 WPC Systems Ltd.
9All rights reserved.
10'''
11
12## WPC
13import pywpc
14
15## Prevent main.py from running automatically after reboot.
16pywpc.Sys_disableMain()
17
18## Reboot PYCO
19pywpc.Sys_reboot()
20