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: src/main.cpp
- Revision:
- 28:e932eb039271
- Parent:
- 26:0897d27b6961
- Child:
- 29:95469b25e187
--- a/src/main.cpp Wed Apr 20 11:13:53 2016 +0000
+++ b/src/main.cpp Wed Apr 20 14:18:18 2016 +0000
@@ -73,14 +73,15 @@
int main()
{
- mpool = osPoolCreate(osPool(mpool));
+ cSPI spi;
+ spi.configurerNbMatrices("%2");
+ /*mpool = osPoolCreate(osPool(mpool));
queue = osMessageCreate(osMessageQ(queue), NULL);
Serial pc(USBTX, USBRX);
osThreadCreate(osThread(detectionMouvement), NULL);
- //Thread thread(detectionMouvement); // Lancement du thread
+ Thread thread(detectionMouvement); // Lancement du thread
- cJeu jeu(8,8);
- //Serial pc(USBTX, USBRX);
+ cJeu jeu(15,8);
jeu.initialiser();
jeu.setQueue(&queue, &mpool);
@@ -89,8 +90,8 @@
while (!jeu.partieEnCours()) {
}
///////////////////////////////
- ///A VOIR
- jeu.fin();
+ //A VOIR
+ jeu.fin();*/