ESP8266 + Python Scripts Implement wireless crowd control
Setup environment
Script introduction
"""
In Python 3.8 and earlier, the name of the collection type is
capitalized, and the type is imported from the 'typing' module
"""
# from typing import Union, Optional # for Python 3.9+
from typing import Union, Dict, List, Optional # for Python 3.7# ip = "192.168.0.108" # for only one robot
ip = ["192.168.0.110", "192.168.0.108"] # for multiple robotsHow to Use
cmds = [
Command.sit, Command.balance, Command.stepping, Command.pee,
Command.stop
]Last updated
Was this helpful?