Hello. I am computer literate, but new to Raspberry pi (i have the 5) and new to python.
Working to setup with a servo2040 (motor2040 next). I was able to
- Connect the board to the Raspberry pi
- See the drive in File Manager
- Drop the uf2 file, it rebooted
- lsusb now shows “Bus 001 Device 004: ID 2e8a:0005 MicroPython Board in FS mode“
- git clone pimoroni-pico
- Attempt to run the samples (e.g. led_rainbow.py) on the Raspberry (in Visual Studio)
- module not found on “from pimoroni import Button”
That is where I am stuck.
There appears to be two python involved
- one on the Raspberry
- one on the 2040 board
Since the objective is to get the Raspberry to control the servos, talking to the 2040 board via the USB interface, how do I connect the two? There is a link from the Raspberry’s python to the 2040 board that is missing from any documentation I have been able to find.
apt search pimoroni* finds no library (to possibly install).
Your help is much needed to close the missing link and will be greatly appreciated.
Pierre Cote