Verifying Compatibility with TestConsole #21
-
Hello there ! I'm new in the Raspi Pico world and I would like to use the circuitPython JoystickXL to build a tiny box for flying in some simulators... I follow the first part : download the last version, copy/paste in the Pico lib folder, create a boot.py file... When I try to run the testConsole command, I have a error during the import : I'm using Ubuntu 22 with Thonny IDE. When I copy and paste tools.py in the lib/joystick_xl, it works well... What I missed or where I have make a mistake ? Related to this commit Prevent TestConsole failure on board with no D2 pin defined ? Thank you & have nice week ! Cheers from France. Mike |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You're absolutely correct - the commit that fixes Note that - using
Hopefully that helps. I'll post back here when I've added a new release that brings the |
Beta Was this translation helpful? Give feedback.
-
I've just published a minor update (0.4.2) that brings the release files up-to-date. |
Beta Was this translation helpful? Give feedback.
-
Thanks again @fasteddy516 for the update, I have updated a educational project with your library : https://github.com/Mick3DIY/EasyPicoPCB/tree/main/joystickXL It works well ! Next step I will make a simple multibox (buttons/switches, potentiometers, leds...) for DCS, ETS2... 🍻 |
Beta Was this translation helpful? Give feedback.
You're absolutely correct - the commit that fixes
TestConsole
on boards without aD2
pin is the difference here. The latest released.mpy
files are lagged behind the current source.py
files by a couple of commits at the moment. I'll be fixing this soon, but for now using thetools.py
file as you have should work fine.Note that - using
tools.py
- you can specify a different pin to use for TestConsole from the REPL:Hopefully that helps. I'll post back here when I've added a new release that brings the
.mpy
files up-to-date.