Skip to content
Snippets Groups Projects
Commit ac1e4518 authored by Zhaoliang Zheng's avatar Zhaoliang Zheng
Browse files

tested manual control, variable changing and kill program function

parent a2185b06
No related merge requests found
...@@ -437,7 +437,7 @@ def variables_change_once(): ...@@ -437,7 +437,7 @@ def variables_change_once():
if __name__ == '__main__': if __name__ == '__main__':
# =========== SET UP ============ # =========== SET UP ============
# Defining Variables for ESP 32 Serial I/O # Defining Variables for ESP 32 Serial I/O
PORT = "COM20" # Based on your own serial port number PORT = "COM22" # Based on your own serial port number
serial_port = serial.Serial(PORT, 115200) serial_port = serial.Serial(PORT, 115200)
serial_port.close() serial_port.close()
serial_port.open() serial_port.open()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment