Skip to content

Add SS declaration to Arduino.h for SD lib compatibility #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cores/arduino/ard_sup/Arduino_defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@
#define bit(b) (1UL << (b))

#define digitalPinToInterrupt(P) (P) // all apollo3 pads are interrupt capable

#define SS 255 //Built in SD library requires an SS pin be defined. Pin # is arbitrary.
10 changes: 5 additions & 5 deletions variants/SparkFun_Artemis_Thing_Plus/config/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ extern Uart Serial1;
// SPI Pins
#define MOSI 11
#define MISO 12
#define SCK 13
#define SCK 13
// Wire Pins
#define SCL 15
#define SDA 14
#define SCL 15
#define SDA 14
// Wire1 Pins
#define SCL1 17
#define SDA1 16
// Serial1 Pins
#define TX1 1
#define RX1 0
#define TX1 1
#define RX1 0
// PDM Microphone Pins
#define MIC_DATA 27
#define MIC_CLOCK 28
Expand Down