acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
Storage.h (491B)
1 #pragma once 2 3 #include <Arduino.h> 4 #include "nvs_flash.h" 5 #include <Preferences.h> 6 #include <SD.h> 7 8 #include "pins.h" 9 10 extern Preferences preferences; 11 12 extern String irc_nickname; 13 extern String irc_username; 14 extern String irc_realname; 15 extern String irc_server; 16 extern int irc_port; 17 extern bool irc_tls; 18 extern String irc_channel; 19 extern String irc_nickserv; 20 extern String wifi_ssid; 21 extern String wifi_password; 22 23 void loadPreferences(); 24 bool mountSD(); 25 void setupSD(); 26 void wipeNVS();