How to EEPROM and SPI?

General

ishotjr

10 months ago

I'm trying to use another shield with the Backpack (not the same one as before) and once again it requires SPI, as well as EEPROM; for the latter, I thought I'd be able to just swap in Gamebuino-EEPROM.h instead, but the library itself has a #include "EEPROM.h" - which I commented out for now, BUT I've still got problems with SPI, e.g.:


error: 'SPSR' was not declared in this scope


error: 'SPI2X' was not declared in this scope


I know the META supports SPI, albeit on different pins, so...any idea why I'm running into these issues/how to work around them?  Thanks!! :)

Sorunome

NEW 10 months ago

Hey, what does it require EEPROM for? The Meta doesn't have any, only emulation of it

ishotjr

10 months ago

Thanks for replying - I'm not really, sure, I've not dug into the implementation - I'm just following the examples, e.g.:


https://github.com/jamesbowman/gd2-lib/blob/master/examples/helloworld.ino


PS, don't try to guess what I'm trying to make, it was supposed to be a surprise! :D

ishotjr

NEW 10 months ago

Sorunome Sorunome

Thanks for replying - I'm not really, sure, I've not dug into the implementation - I'm just following the examples, e.g.:


https://github.com/jamesbowman/gd2-lib/blob/master/examples/helloworld.ino


PS, don't try to guess what I'm trying to make, it was supposed to be a surprise! :D

You must be logged in in order to post a message on the forum

Log in