Work around for D4 IDE bug

A condition can exist where pin D4 is allocated a value of 0
The workaround is to define and use pin numbers in the PIN_Dx format
This commit is contained in:
Bodmer committed 2017-04-14 15:45:40 +01:00
1 parent d31cbc3dbd
commit 6526e34e7c
12 files changed
+54 -87

No files matched your search

+3 -3
View File
@@ -21,9 +21,9 @@
#include <pgmspace.h>
#include <limits.h>
#include "pins_arduino.h"
#include "wiring_private.h"
//#include <limits.h>
//#include "pins_arduino.h"
//#include "wiring_private.h"
#include <SPI.h>
// If it is a 16bit serial display we must transfer 16 bits every time