Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adafruit Pixel Trinkey M0 #9189

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Adafruit Pixel Trinkey M0 #9189

merged 2 commits into from
Apr 19, 2024

Conversation

dhalbert
Copy link
Collaborator

@dhalbert dhalbert commented Apr 18, 2024

Available pins:

CLOCK/SCK
DATA/MOSI
D6/MISO           # D6 (PA06) on 3-pin JST SH
NEOPIXEL          # on-board NeoPixel
VOLTAGE_MONITOR   # 10K-10K voltage divider

board.SPI() is also available, using SCK, MOSI, and MISO.

Available modules:

>>> help("modules")
__future__        busio             neopixel_write    struct
__main__          collections       nvm               supervisor
adafruit_dotstar  digitalio         os                sys
adafruit_pixelbuf gc                pulseio           time
analogio          math              pwmio             usb_cdc
array             microcontroller   rainbowio         usb_hid
board             micropython       random            usb_midi
builtins          neopixel          storage

Note that busio.I2C and pulseio.PulseOut are turned off and raise NotImplementedError.

neopixel and adafruit_dotstar are frozen in.

@ladyada:

  • The 3-pin JST SH is GPIO PA06. I made this D6, is that right? Changed to D4.
  • pulseio.PulseIn is enabled for possible IR use. pulseio.PulseOut is turned off because otherwise it will not fit. Is this what you had in mind? Does IR make sense on this tiny board? There isn't room to freeze in the IR library.

@dhalbert dhalbert requested a review from ladyada April 18, 2024 16:12
@ladyada
Copy link
Member

ladyada commented Apr 18, 2024

pin name is still D6?

@dhalbert
Copy link
Collaborator Author

pin name is still D6?

Aah, now pushed.

Copy link
Member

@ladyada ladyada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested with hardware = works!

@dhalbert dhalbert merged commit 87a400a into adafruit:main Apr 19, 2024
14 of 15 checks passed
@dhalbert dhalbert deleted the pixel-trinkey branch April 19, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants