maxime bouillot / Mbed 2 deprecated testLucadeTHmaxBOUI

Dependencies:   LCD_DISCO_F429ZI mbed BSP_DISCO_F429ZI

Committer:
ascheriit
Date:
Sun Mar 31 16:39:23 2019 +0000
Revision:
12:c73ef3123eb8
Parent:
8:ae92c165d2da
Child:
13:a837e142743f
J'ai change la definition du type matrice pour y inclure la taille. Ainsi on peut travailler avec des matrices de tailles differents tout en economisnat le plus de place possible dans la rom.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ascheriit 8:ae92c165d2da 1 #include "mbed.h"
ascheriit 8:ae92c165d2da 2 #include "LCD_DISCO_F429ZI.h"
ascheriit 8:ae92c165d2da 3
ascheriit 12:c73ef3123eb8 4 #define TailleMatrice 12 /*va peut être changer*/
ascheriit 8:ae92c165d2da 5
ascheriit 12:c73ef3123eb8 6 struct matrice {
ascheriit 12:c73ef3123eb8 7 int taille;
ascheriit 12:c73ef3123eb8 8 char tableau[TailleMatrice][TailleMatrice];
ascheriit 12:c73ef3123eb8 9 } ;
ascheriit 8:ae92c165d2da 10
ascheriit 8:ae92c165d2da 11 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 12
ascheriit 8:ae92c165d2da 13 void DM_Test();
ascheriit 8:ae92c165d2da 14
ascheriit 8:ae92c165d2da 15
ascheriit 8:ae92c165d2da 16 //Elements de la banque de symboles
ascheriit 8:ae92c165d2da 17
ascheriit 8:ae92c165d2da 18 matrice *BS_testDessin(); //Petit symbole pour tester des trucs
ascheriit 12:c73ef3123eb8 19 matrice *BS_petitM(); //Un petit M majuscule
ascheriit 12:c73ef3123eb8 20 matrice *BS_Abi();