EaPaper Library for EM027BS013

Dependencies:   EM027BS013 TFT_fonts

Fork of EaEpaper by Peter Drescher

Revision:
3:1371614703cd
Parent:
0:fedcef5319f5
--- a/EPD.cpp	Sun Nov 10 19:32:53 2013 +0000
+++ b/EPD.cpp	Wed Jun 25 17:43:32 2014 +0000
@@ -18,8 +18,6 @@
 
 #include "EPD.h"
 #include "mbed.h"
-#include "BurstSPI.h"
-
 
 // delays - more consistent naming
 #define Delay_ms(ms) wait_ms(ms)
@@ -594,8 +592,7 @@
 
     // send all data
     for (uint16_t i = 0; i < length; ++i) {
-        spi_.fastWrite(*buffer++);
-        spi_.clearRX();
+        spi_.write(*buffer++);
     }
 
     // CS high