SPI on Trinket

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
matboy16
 
Posts: 51
Joined: Thu May 09, 2013 6:05 pm

SPI on Trinket

Post by matboy16 »

How do i use SPI on a trinket? I need to drive an 8x8 matrix with a max7219.
Thanks

User avatar
adafruit_support_mike
 
Posts: 67821
Joined: Thu Feb 11, 2010 2:51 pm

Re: SPI on Trinket

Post by adafruit_support_mike »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”