Web Radio
Web Radio
code
1
• #include "Arduino.h"
• #include <TFT_eSPI.h>
• #include <WiFi.h>
• #include <Audio.h> //https://github.com/schreibfaul1/ESP32-audioI2S
• #include "Trance.h"
• #include "Lounge.h"
• #include "UK.h"
• #include "Talk.h"
• #include "Dance.h"
• #include "Disco.h"
• #include <SoftwareSerial.h> // This is the ESPSoftwareserial Version
https://github.com/plerup/espsoftwareserial/
2
• #define I2S_DOUT 25 // Preset I2S pins on the ESP32
• #define I2S_BCLK 27
• #define I2S_LRC 26
• SoftwareSerial serialBT;
• int CH_Pointer = 0;
• int OLD_Pointer = 0;
• int Volume = 15;
• int action = -1;
• int Genres = 1;
• const String Spc = " ";
• String Str = Spc;
3
• String Str1;
• int Sizeof;
• int SizeofTrance;
• int SizeofDance;
• int SizeofDisco;
• int SizeofLounge;
• int SizeofTalk;
• int SizeofUK;
4