TinyScreen+ library and SPI1

MagnusRunesson

  • Full Member
  • ***
    • Posts: 23
  • Eagerly awaiting TinyArcade!
    • View Profile
Hi everyone!

I want to play around with the updated TinyScreen library but I can't get it to compile. This is the error message I get:

Code: [Select]
/Users/magnusrunesson/Projects/Arduino/libraries/TinyScreen/TinyScreen.cpp: In constructor 'TinyScreen::TinyScreen(uint8_t)':
/Users/magnusrunesson/Projects/Arduino/libraries/TinyScreen/TinyScreen.cpp:487:12: error: 'SPI1' was not declared in this scope
     TSSPI=&SPI1;
            ^

SPI1 is not defined in any of my SPI libraries. I've looked through the ones that come with the Arduino IDE (1.6.7) and I've installed the Arduino Zero core but that doesn't define SPI1 either. I've installed the Arduino Zero core as I figured that is what Tiny Arcade is based on maybe it is a good start, but that didn't help.

Anyone out there who've used the new TinyScreen+ library? (The one in commit with SHA 0a63de70884f1b00a21a9f6051912df86cc78203)

Thanks!


MagnusRunesson

  • Full Member
  • ***
    • Posts: 23
  • Eagerly awaiting TinyArcade!
    • View Profile

 

SMF spam blocked by CleanTalk