BastatDoreau / Mbed 2 deprecated MoveYourTetris

Dependencies:   mbed APDS_9960 mbed-rtos

Dependents:   MoveYourTetris_OK

Revision:
36:f58a566595ad
Parent:
35:7aef0bbdf335
Child:
38:418278e5eb6b
--- a/include/cSPI.h	Fri Apr 22 13:49:03 2016 +0000
+++ b/include/cSPI.h	Sun Apr 24 15:47:15 2016 +0000
@@ -1,16 +1,12 @@
-/*
- * cSPI.h
- *
- *  Created on: 5 avr. 2016
- *      Author: clement
- */
-
 #ifndef CSPI_H_
 #define CSPI_H_
 
 #include "mbed.h"
 #include "cMatrice.h"
 
+// Définition de la classe cSPI
+// Classe de gestion de la liaison SPI (initialisation et envoi de la matrice).
+
 class cSPI {
 private:
     unsigned int _freq;
@@ -35,7 +31,6 @@
     void initSPI(unsigned int frequence);
     int envoyerMatrice(cMatrice &); // Renvoi la reponse SPI
     void setNbMatrice(unsigned int nb);
-
 };
 
 #endif /* CSPI_H_ */