-
Notifications
You must be signed in to change notification settings - Fork 119
Added PyRuler as a separate board type #276
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hiya - getting around to some older PRs. looks good, added some fixes & please:
remove variants/pyruler/.DS_Store
remove variants/pyruler/debug_scripts/variant.gdb
@@ -1601,7 +1647,7 @@ adafruit_matrixportal_m4.menu.debug.on.build.flags.debug=-g | |||
# ------------------------------ | |||
adafruit_blm_badge.name=Adafruit BLM Badge | |||
adafruit_blm_badge.vid.0=0x239A | |||
adafruit_blm_badge.pid.0=0x80BF | |||
adafruit_blm_badge.pid.0=0x0x80BF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert
# ------------------------------ | ||
adafruit_pyruler.name=Adafruit PyRuler | ||
adafruit_pyruler.vid.0=0x239A | ||
adafruit_pyruler.pid.0=0x801E |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 0x804B
adafruit_pyruler.vid.0=0x239A | ||
adafruit_pyruler.pid.0=0x801E | ||
adafruit_pyruler.vid.1=0x239A | ||
adafruit_pyruler.pid.1=0x001E |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x004B
adafruit_pyruler.build.variant=pyruler | ||
adafruit_pyruler.build.variant_system_lib= | ||
adafruit_pyruler.build.vid=0x239A | ||
adafruit_pyruler.build.pid=0x801E |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x804B
Thanks for working on this. I removed the excess files. |
@ladyada Are you sure about the PID changes? Mine enumerates as 239a:001e in the bootloader. |
The PyRuler is a Trinket-M0+ with some extra LEDs and touch inputs. I created a new board type to make it easier for Arduino (native code) access to these features. Circuit Python already supports it, but I work in native code.
The one wrinkle is that the cap touch button 0 is not connected to the PTC (peripheral touch controller) and is just an analog input with a resistor. Still, hopefully this change will help people make use of this board from Arduino.