Use SS pin for Arduinos - thus works for Uno and Mega and should for all other officially supported boards.
This commit is contained in:
parent
66ff76f87e
commit
d49211a232
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@
|
|||
// Pin definition
|
||||
#define RST_PIN 8
|
||||
#define DC_PIN 9
|
||||
#define CS_PIN 10
|
||||
#define CS_PIN SS
|
||||
#define BUSY_PIN 7
|
||||
|
||||
class EpdIf {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
// Pin definition
|
||||
#define RST_PIN 8
|
||||
#define DC_PIN 9
|
||||
#define CS_PIN 10
|
||||
#define CS_PIN SS
|
||||
#define BUSY_PIN 7
|
||||
|
||||
class EpdIf {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue