Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed APDS_9960 mbed-rtos
Diff: include/cSPI.h
- Revision:
- 36:f58a566595ad
- Parent:
- 35:7aef0bbdf335
- Child:
- 38:418278e5eb6b
diff -r 7aef0bbdf335 -r f58a566595ad include/cSPI.h
--- 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_ */