OPEN port actions are coming down the RX/TX pins instead?
# hardwar serial on R-Pi/dev/ttyAMA0# FTDI and some other usb serial/dev/ttyUSB0# modem... what? is the ATmega16u2 a modem. /dev/ttyACM0
stty -F /dev/ttyACM0 -hupcl
sudo apt-get updatesudo apt-get upgradesudo apt-get install picocom
picocom -b 38400 /dev/ttyAMA0
Talking out loud here:Is this really a PORT OPENING thing? If the SENDING of data works.... the PORT is already opened and working correctly......right? Especially in the SECOND approach posted above>? Since the WRITE and then READ is done int he same snippet of code.. under the ONLY port opening line in the app? SO if the WRITE is working after the port opening... why isnt the READ portion working? Its all 'working' under the same PORT OPENING action......right?
I have NOT tried ANYTHING Python related...
picocom --send-cmd "from_php_I_eat" --receive-cmd "to_php_I_barf" -b 38400 /dev/ttyAMA0
picocom -b 38400 /dev/ttyUSB0