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:
5:93cc09de603a
Parent:
2:0a16083193a4
Child:
8:32bf76e1ec9f
--- a/SPI_TFT_ILI9341.h	Fri Oct 18 09:04:42 2013 +0000
+++ b/SPI_TFT_ILI9341.h	Mon Oct 21 19:38:10 2013 +0000
@@ -277,7 +277,7 @@
     
   SPI _spi;
   DigitalOut _cs; 
-  DigitalOut _reset;
+  PinName _reset;
   DigitalOut _dc;
   unsigned char* font;