Tests

the living tribunal

Moderator
Staff member
moderator
Python:
import serial
import time

# Replace 'COM3' with your Arduino's COM port
ser = serial.Serial('COM3', 115200, timeout=1)

while True:
    if ser.in_waiting:
        data = ser.readline().decode('utf-8').strip()
        print(data)
 
Top