This is an involuntary fork, created because the repository would not update mmSPI. SPI library used to communicate with an altera development board attached to four zigbee-header pins.

Dependents:   Embedded_RTOS_Project

Fork of mmSPI by Mike Moore

Revision:
2:bebcf53b72dc
Parent:
1:15706d15d123
Child:
3:de99451ab3c0
--- a/mmSPI.cpp	Wed Aug 14 10:09:58 2013 +0000
+++ b/mmSPI.cpp	Wed Aug 14 10:30:30 2013 +0000
@@ -10,7 +10,7 @@
 //==============================================//==============================
     mmSPI::mmSPI()                              // constructor.
     {
-
+      pSCLK = new DigitalOut(p29);
     }
 //----------------------------------------------//------------------------------    
     mmSPI::~mmSPI()                             // destructor.
@@ -20,7 +20,7 @@
 //----------------------------------------------//------------------------------
     char mmSPI::transceive_byte(char cSend)     // send/receive a byte.
     {
-    
+      *pSCLK = 1;