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
TraceMatrix/Trace.h@14:006b29435bdb, 2019-04-10 (annotated)
- Committer:
- ascheriit
- Date:
- Wed Apr 10 20:54:05 2019 +0000
- Revision:
- 14:006b29435bdb
- Parent:
- 13:a837e142743f
- Child:
- 15:3874758e8f7d
Ajout d'une fonction d'affichage de chiffres arabes.; Ecriture de la fonction e test du ACE.; Augmentation de la lisibilie de Trace.cpp
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ascheriit | 8:ae92c165d2da | 1 | #include "mbed.h" |
| ascheriit | 8:ae92c165d2da | 2 | #include "LCD_DISCO_F429ZI.h" |
| ascheriit | 8:ae92c165d2da | 3 | |
| ascheriit | 14:006b29435bdb | 4 | //debut de la zone de définition |
| ascheriit | 14:006b29435bdb | 5 | #ifndef CHANGEME_H_ |
| ascheriit | 14:006b29435bdb | 6 | #define CHANGEME_H_ |
| ascheriit | 14:006b29435bdb | 7 | |
| ascheriit | 13:a837e142743f | 8 | #define TailleMatrice 16 /*va peut être changer*/ |
| ascheriit | 8:ae92c165d2da | 9 | |
| ascheriit | 12:c73ef3123eb8 | 10 | struct matrice { |
| ascheriit | 13:a837e142743f | 11 | int tailleX; |
| ascheriit | 13:a837e142743f | 12 | int tailleY; |
| ascheriit | 12:c73ef3123eb8 | 13 | char tableau[TailleMatrice][TailleMatrice]; |
| ascheriit | 14:006b29435bdb | 14 | }; |
| ascheriit | 14:006b29435bdb | 15 | |
| ascheriit | 14:006b29435bdb | 16 | #endif |
| ascheriit | 14:006b29435bdb | 17 | //fin de la zone de définition |
| ascheriit | 8:ae92c165d2da | 18 | |
| ascheriit | 8:ae92c165d2da | 19 | 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. |
| ascheriit | 8:ae92c165d2da | 20 | |
| ascheriit | 8:ae92c165d2da | 21 | void DM_Test(); |
| ascheriit | 8:ae92c165d2da | 22 | |
| ascheriit | 8:ae92c165d2da | 23 | |
| ascheriit | 8:ae92c165d2da | 24 | //Elements de la banque de symboles |
| ascheriit | 8:ae92c165d2da | 25 | |
| ascheriit | 13:a837e142743f | 26 | matrice *BS_smile(); //un petit dessin pour des tests |
| ascheriit | 14:006b29435bdb | 27 | matrice *BS_graphe(); //une aide visuelle |
| ascheriit | 13:a837e142743f | 28 | |
| ascheriit | 13:a837e142743f | 29 | //liste de chiffres arabes |
| ascheriit | 13:a837e142743f | 30 | matrice *BS_0(); |
| ascheriit | 13:a837e142743f | 31 | matrice *BS_1(); |
| ascheriit | 13:a837e142743f | 32 | matrice *BS_2(); |
| ascheriit | 13:a837e142743f | 33 | matrice *BS_3(); |
| ascheriit | 13:a837e142743f | 34 | matrice *BS_4(); |
| ascheriit | 13:a837e142743f | 35 | matrice *BS_5(); |
| ascheriit | 13:a837e142743f | 36 | matrice *BS_6(); |
| ascheriit | 13:a837e142743f | 37 | matrice *BS_7(); |
| ascheriit | 13:a837e142743f | 38 | matrice *BS_8(); |
| ascheriit | 14:006b29435bdb | 39 | matrice *BS_9(); |
| ascheriit | 14:006b29435bdb | 40 | void BS_displayChiffre(int,int,int,int,long long int); //permet d'afficher un entier compris entre 0 et 9 |
