I tried following the instructions:
apt-get install unzip patch xsltproc gcc libreadline-dev python-dev python-setuptools
followed by:
git clone https://github.com/gotthardp/python-mercuryapi.git cd python-mercuryapi make
and then sudo make install
when i try to run the test.py with python3 test.py it looks like its booting up, im getting:
M6e Nano ["NA2", "NA3", "IN", "JP", "PRC", "EU3",....] []
The result seems to be empty, but if I try to run the test.py again I get:
Traceback (most recent call last): File "test.py", line 6, in <module> reader = mercury.Reader("tmr:///dev/ttyUSB0", baudrate=115200) TypeError: No such file or directory
Seems weird it's coming after it ran once? If I unplug the USB from the RaspberryPi and insert again, it runs once more, but trying to run it agian, and the same thing happens.
I'm using a RaspberryPi 3 B+
Sparkfun M6e Nano
Sparkfun Serial Basic Breakout board
Hi
I tried following the instructions:
apt-get install unzip patch xsltproc gcc libreadline-dev python-dev python-setuptools
followed by:git clone https://github.com/gotthardp/python-mercuryapi.git cd python-mercuryapi make
and thensudo make install
when i try to run the test.py with
python3 test.py
it looks like its booting up, im getting:M6e Nano ["NA2", "NA3", "IN", "JP", "PRC", "EU3",....] []
The result seems to be empty, but if I try to run the test.py again I get:
Traceback (most recent call last): File "test.py", line 6, in <module> reader = mercury.Reader("tmr:///dev/ttyUSB0", baudrate=115200) TypeError: No such file or directory
Seems weird it's coming after it ran once? If I unplug the USB from the RaspberryPi and insert again, it runs once more, but trying to run it agian, and the same thing happens.
I'm using a RaspberryPi 3 B+ Sparkfun M6e Nano Sparkfun Serial Basic Breakout board
Best Regards!