Skip to content

Instantly share code, notes, and snippets.

@samy
samy / gist:11e266c37b57a7fed2ec5f09bef6402c
Last active October 19, 2021 16:02
Une histoire au bout du fil
const char string_0[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince"; // "String 0" etc are strings to store - change to suit.
const char string_1[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince";
const char string_2[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince";
const char string_3[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince";
const char string_4[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince";
const char string_5[] PROGMEM = "Le petit princeLe petit princeLe petit princeLe petit prince";
const char *const titles[] PROGMEM = {string_0, string_1, string_2, string_3, string_4, string_5};
/* Lecteur MP3 */
#include <AsyncHTTPSRequest_Generic.h>
#include <AsyncHTTPSRequest_Impl_Generic.h> // https://github.com/khoih-prog/AsyncHTTPRequest_Generic
#include <Ticker.h>
//https://www.arduino.cc/en/Tutorial/BuiltInExamples/Debounce
#include <WiFi.h> // Utilisation de la librairie WiFi.h
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <HTTPClient.h>