from Arduino import Arduino
POT = 0
val = 0
board = Arduino('115200')
while True :
val = board.analogRead(POT) print(val) time.sleep(0.05)
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
Originally, the normal output should read the potentiometer value continuously and output it to the serial monitor, but nothing is displayed.
I went through the same installation process and tried running it on another laptop, but it worked fine there.
I haven't found a solution yet.
(I'm Korean, so I'm sorry that I'm not good at English.)