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: LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI
Diff: TraceMatrix/Trace.h
- Revision:
- 14:006b29435bdb
- Parent:
- 13:a837e142743f
- Child:
- 15:3874758e8f7d
--- a/TraceMatrix/Trace.h Wed Apr 10 20:07:13 2019 +0000
+++ b/TraceMatrix/Trace.h Wed Apr 10 20:54:05 2019 +0000
@@ -1,13 +1,20 @@
#include "mbed.h"
#include "LCD_DISCO_F429ZI.h"
+//debut de la zone de définition
+#ifndef CHANGEME_H_
+#define CHANGEME_H_
+
#define TailleMatrice 16 /*va peut être changer*/
struct matrice {
int tailleX;
int tailleY;
char tableau[TailleMatrice][TailleMatrice];
-} ;
+};
+
+#endif
+//fin de la zone de définition
void DisplayMatrix(int,int,matrice*,int,long long int); //Cett foction prend en argument une position initialle, une matrce (représentée par un nombre binaire de coté² bits) ,une taille de pixel et une couleur et trace ce qui est repésenté par la matrice.
@@ -17,6 +24,7 @@
//Elements de la banque de symboles
matrice *BS_smile(); //un petit dessin pour des tests
+matrice *BS_graphe(); //une aide visuelle
//liste de chiffres arabes
matrice *BS_0();
@@ -28,4 +36,5 @@
matrice *BS_6();
matrice *BS_7();
matrice *BS_8();
-matrice *BS_9();
\ No newline at end of file
+matrice *BS_9();
+void BS_displayChiffre(int,int,int,int,long long int); //permet d'afficher un entier compris entre 0 et 9
\ No newline at end of file
