SPI library used to communicate with an altera development board attached to four zigbee-header pins.

Revision:
29:4ed71dfee7d8
Parent:
27:fb63c8b70bc2
Child:
30:331c7c7d8bc1
--- a/mmSPI.cpp	Sun Aug 25 05:16:58 2013 +0000
+++ b/mmSPI.cpp	Sun Aug 25 06:05:30 2013 +0000
@@ -163,7 +163,9 @@
     char mmSPI::read_register(char cRegister)
     { 
       clear_transmit_vector();                  // clear transmit vector.
-                   
+      
+      pcSend[7] = 0x02;                         // suppress cpu operation.
+
       transceive_vector();                      // snap & scan-out reg contents.
       
       return (pcReceive[6 - cRegister]);        // return the particular reg value.