Hi all,
I am using the Jetson Nano to control some motors, with a Jupyter Notebook as my development environment. I want to be able to read a joystick input into the Jupyter Notebook program so that I can drive the motors with it. The joystick is an analog output, so I am using a 12 bit ADC from Adafruit (ADS1015) to convert the analog inputs to i2c.
Everything I have read online says that to use i2c with the Jetson Nano, you need to use the libi2c library ( GitHub - amaork/libi2c: Linux i2c library, support C/C++/Python ). I have installed this with sudo apt-get install libi2c-dev i2c-tools. My problem is even though I have downloaded and installed this, I cannot import it into my Jupyter Notebook. When I use the line import pylibi2c (as the github page suggests) I get “No module named ‘pylibi2c’.” I have tried moving the libi2c folder around to different directories (site-packages) and reinstalling with no luck. I would appreciate some help on this, I feel it is a very simple and correctable issue.
Thanks!
Joe