diff options
| author | abel <abel.tim.t@gmail.com> | 2024-10-08 17:41:29 +0200 |
|---|---|---|
| committer | abel <abel.tim.t@gmail.com> | 2024-10-08 17:41:29 +0200 |
| commit | 5340707b87937d62c6d72197cf494d67851d05e3 (patch) | |
| tree | 6015df961f22f1850dcefb781ce1475fedab2216 /debug/motordriver/PID_autotune/man_test.py | |
| parent | e0ee73e9de937e15fa1a60b7fe6fa081435119aa (diff) | |
| download | robotica-5340707b87937d62c6d72197cf494d67851d05e3.tar.gz robotica-5340707b87937d62c6d72197cf494d67851d05e3.zip | |
UPDATE FOLDER STUCTURE
MOET APARTE_PCB NOG VERWIJDERTEN WINDOWS HEEFT BEST VERGRENDELD
Diffstat (limited to 'debug/motordriver/PID_autotune/man_test.py')
| -rw-r--r-- | debug/motordriver/PID_autotune/man_test.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/debug/motordriver/PID_autotune/man_test.py b/debug/motordriver/PID_autotune/man_test.py deleted file mode 100644 index 52c84e3..0000000 --- a/debug/motordriver/PID_autotune/man_test.py +++ /dev/null @@ -1,16 +0,0 @@ -import serial -import time - -arduino = serial.Serial(port='/dev/ttyACM0', baudrate=115200, timeout=.1) - -def write_read(x): - arduino.write(bytes(x, 'utf-8')) - time.sleep(0.05) - data = arduino.readline() - return data - -while True: - num = input("Enter a number: ") # Taking input from user - value = write_read(num) - print(value) # printing the value - |
