[Flashforth-devel] ff-shell3.py question
Brought to you by:
oh2aun
From: Mark E. <mar...@gm...> - 2024-07-05 23:51:22
|
Hi sorry..somewhat frustrated at the moment im sure there is something dumb i am doing / not doing but.. I *cannot* get the ff-shell3.py shell working at all .. M1 Mac, python 3.9.0 USB serial on /dev/tty.usbmodem13201 I changed tried running the ff-shell3.py with ‘python3 ff-shell3.py /dev/tty.usbmodem13201’ and get the dreaded “No such file or directory: /dev/tty.usbmodem13201’ even though I can connect to it with screen no issues. So them I was looking at the code and see its got a serial port object “class Config(object)” and it so i changed default serial port to /dev/tty.usbmodem13201’ in it but still same issue. hmm…. this should not be so difficult. so i played with some simple python code inside the repl. just using see = serial.Serial(PORT, BAUD) using same port /dev/tty.usbmodem13201 and then ser.open() and I get “serial port is already open” .. so i do ser.close() first them ser.open() and it works, it sees my serial port just fine. so why isn’t the ff-shell3.py seeing my serial port ?? TIA Mark |