How do i use SPI on a trinket? I need to drive an 8x8 matrix with a max7219.
Thanks
SPI on Trinket
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 66616
- Joined: Thu Feb 11, 2010 2:51 pm
Re: SPI on Trinket
GPIO #0 is MISO, GPIO #1 is MOSI, GPIO #2 is SCK.
The standard Arduino SPI library doesn't work on the Trinket because of hardware differences, but the TinyFlash project has a barebones implementation of SPI code to talk with an SPI-based Flash memory chip: https://github.com/adafruit/Adafruit_TinyFlash
The standard Arduino SPI library doesn't work on the Trinket because of hardware differences, but the TinyFlash project has a barebones implementation of SPI code to talk with an SPI-based Flash memory chip: https://github.com/adafruit/Adafruit_TinyFlash
Please be positive and constructive with your questions and comments.