Skip to content
Discussion options

You must be logged in to vote

You're absolutely correct - the commit that fixes TestConsole on boards without a D2 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 the tools.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:

>>> import board
>>> from joystick_xl.tools import TestConsole
>>> TestConsole(button_pin=board.GP0)

Hopefully that helps. I'll post back here when I've added a new release that brings the .mpy files up-to-date.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Mick3DIY
Comment options

Answer selected by Mick3DIY
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants