Added SPI speed parameter

Dependents:   EasyCAT_LAB_simple EasyCAT_LAB

  • The default SPI speed has been set to 27MHz, but it can be configured using the last parameter of the constructor.
  • This is an optimization for the EasyCAT LAB , a complete educational and experimental EtherCAT® system, composed of one master and two slaves .
Revision:
8:32bf76e1ec9f
Parent:
5:93cc09de603a
Child:
9:2e5c5943b3fd
diff -r 3ac45671dc77 -r 32bf76e1ec9f SPI_TFT_ILI9341.h
--- a/SPI_TFT_ILI9341.h	Wed Oct 23 01:34:51 2013 +0000
+++ b/SPI_TFT_ILI9341.h	Thu Mar 20 15:29:19 2014 +0000
@@ -230,7 +230,7 @@
    */    
   void Bitmap(unsigned int x, unsigned int y, unsigned int w, unsigned int h,unsigned char *bitmap);
     
-    
+#if DEVICE_LOCALFILESYSTEM
    /** paint a 16 bit BMP from local filesytem on the TFT (slow) 
    *
    * @param x,y : upper left corner 
@@ -249,7 +249,7 @@
    */      
     
   int BMP_16(unsigned int x, unsigned int y, const char *Name_BMP);  
-    
+#endif
     
     
   /** select the font to use