Browse Source

Gestion du quiz

master
scayac 3 months ago
parent
commit
5516e8e91e
  1. 897
      index.html
  2. 29
      quiz_exemple.txt
  3. 4
      src/main.cpp

897
index.html

File diff suppressed because it is too large Load Diff

29
quiz_exemple.txt

@ -0,0 +1,29 @@
* Quel gaz est présent dans l'air à environ 80% ?
+ diazote
- dioxygène
- dioxyde de carbone
- ozone
* Quel gaz est présent dans l'air à environ 20% ?
- diazote
+ dioxygène
- dioxyde de carbone
- dioxyde de soufre
* Quelle est la capitale de la France ?
- Lyon
- Marseille
+ Paris
- Bordeaux
* Combien font 2 + 2 ?
- 3
+ 4
- 5
- 6
* Quel est le symbole chimique de l'eau ?
- CO2
- O2
+ H2O
- NaCl

4
src/main.cpp

@ -9,7 +9,9 @@
#define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8" #define CHARACTERISTIC_UUID "beb5483e-36e1-4688-b7f5-ea07361b26a8"
// Configuration des GPIO à surveiller // Configuration des GPIO à surveiller
const int GPIO_PINS[] = {15, 16, 17, 18}; // GPIOs à surveiller // Note: GPIO 16 et 17 peuvent poser problème (UART2/PSRAM)
// Utilisation de GPIO plus fiables: 15, 4, 5, 18
const int GPIO_PINS[] = {15, 4, 5, 18}; // GPIOs à surveiller (A, B, C, D)
const int NUM_PINS = sizeof(GPIO_PINS) / sizeof(GPIO_PINS[0]); const int NUM_PINS = sizeof(GPIO_PINS) / sizeof(GPIO_PINS[0]);
// Variables globales // Variables globales

Loading…
Cancel
Save