ce program est un test non fini

Dependencies:   mbed BSP_DISCO_F746NG

Revision:
2:3e54ffabcc47
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/prog_util/header.h	Wed Nov 18 08:07:27 2020 +0000
@@ -0,0 +1,58 @@
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <stm32746g_discovery_ts.h>
+#include <stm32746g_discovery_lcd.h>
+
+
+#define LONGUEUR 238  //sur la grille des états
+#define HAUTEUR 134 
+#define TEMPS_TOUR 100
+ 
+typedef char CASE;
+typedef CASE GRILLE[LONGUEUR+1][HAUTEUR+1];
+
+// limite du bouton "démarrer"
+#define Gauche_bouton_demarrer 400
+#define Bas_bouton_demarrer 60
+#define couleur_stop LCD_COLOR_GREEN
+#define couleur_demarrer LCD_COLOR_RED
+#define Droit_bouton_continuer 79
+
+// règles
+#define CVA_VIVANT 3//les test sont fait en intervalle ouvert (=> =<)
+#define CVA_MORT 2
+
+
+#define couleurvivante LCD_COLOR_WHITE
+#define couleurmorte LCD_COLOR_BLACK 
+//Fonctions du JDLV
+
+void Tabsomme(GRILLE G, GRILLE Gsomme);
+
+int SommeADJcorps(GRILLE G, int i, int h);
+ 
+int SommeADJcoteslat(GRILLE G,int i, int h);
+
+int SommeADJcoins(GRILLE G, int i, int h);
+ 
+int SommeADJcoteslon(GRILLE G,int i, int h);
+ 
+void Changementetat(GRILLE G, GRILLE Gsomme);
+ 
+void Affichagepxl2(GRILLE G);
+
+void Affichagepxl2_debut(GRILLE G);
+
+void partie(GRILLE G,GRILLE Gsomme);
+
+int fin_de_partie(GRILLE G,GRILLE Gsomme);
+
+void init_cellules(GRILLE G);
+
+
+
+
+
+
+