Artemis Nano print to serial port and receive in python in windows.
I have printed and received lines of text a csv format as a data logger.
I am fallowing this tutorial
https://makersportal.com/blog/2018/2/25 … g-pyserial
with this code
import serial
ser = serial.Serial('/dev/ttyACM0')//COM8 I put here because I am running windows.
ser.flushInput()
while True:
try:
ser_bytes = ser.readline()
decoded_bytes = float(ser_bytes[0:len(ser_bytes)-2].decode("utf-8"))
print(decoded_bytes)
except:
print("Keyboard Interrupt")
break
in anaconda s orange python mpdule
I want to use oranges ANN widgets.
I have orange updated puthon and such in anaconda updated and py serial installed.
It shows keyboard interupt but not a line of the sensor data. :?: