Fork of https://os.mbed.com/users/sebastiken/code/Adafruit_RA8875/ ; Adapted for use with K64F and in the process of adding more functions.

Dependencies:   mbed BNO055

Revision:
1:ac22f0f36d6b
Parent:
0:66c1aa3d198e
Child:
2:040a687cea93
--- a/RA8875.h	Fri Sep 08 14:05:04 2017 +0000
+++ b/RA8875.h	Fri Sep 08 14:14:54 2017 +0000
@@ -26,7 +26,7 @@
 class Adafruit_RA8875 { // : public Adafruit_GFX {
  public:
   Adafruit_RA8875(PinName MOSI, PinName MISO, PinName SCLK,
-        PinName CS, PinName RST);
+        PinName CS, PinName RST, Serial *pc=NULL);
   
   bool begin(enum RA8875sizes s);
   void    softReset(void);
@@ -116,6 +116,7 @@
   enum RA8875sizes _size;
 
   SPI spi;                        ///< spi port
+  Serial *pc;
 };
 
 // Colors (RGB565)