Skip to content

Won't compile without SPI.h #23

@wpetefish

Description

@wpetefish

I found that if you try to compile this without an #include "SPI.h" the firmware will not compile with a vanilla copy of the Arduino IDE 1.8.7 giving the following error:

/home/blackfire_tx/Downloads/GVRET/GVRET.ino: In function 'void setup()':
GVRET:360:9: error: 'SPI' was not declared in this scope
SPI.begin();
^
/home/blackfire_tx/Downloads/GVRET/GVRET.ino: In function 'void loop()':
GVRET:1110:21: error: 'SPI' was not declared in this scope
SPI.begin();
^
exit status 1
'SPI' was not declared in this scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions