v0.7.330
This commit is contained in:
@@ -13,6 +13,14 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
/* DSP_MODEL. See description/available values in the options.h file */
|
||||
/* This option is required. Use DSP_DUMMY if no display is connected */
|
||||
#define DSP_MODEL DSP_DUMMY
|
||||
/*
|
||||
* !!! Important !!!
|
||||
* if you use colored TFT displays with the esp32 wroom, due to lack of memory, you must modify the file Arduino/libraries/AsyncTCP/src/AsyncTCP.cpp
|
||||
* replace the line 221
|
||||
* xTaskCreateUniversal(_async_service_task, "async_tcp", 8192 * 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
|
||||
* with
|
||||
* xTaskCreateUniversal(_async_service_task, "async_tcp", 8192 / 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
|
||||
*/
|
||||
/******************************************/
|
||||
|
||||
/* SPI PINS. SCL(SCK, CLK) must be connected to pin 18
|
||||
@@ -25,9 +33,6 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
/* NEXTION */
|
||||
//#define NEXTION_RX 255 /* Nextion RX pin */
|
||||
//#define NEXTION_TX 255 /* Nextion TX pin */
|
||||
//#define NEXTION_WEATHER_LAT "55.7512" /* Nextion latitude for display Weather */
|
||||
//#define NEXTION_WEATHER_LON "37.6184" /* Nextion longitude for display Weather */
|
||||
//#define NEXTION_WEATHER_KEY "" /* Openweathermap API key https://openweathermap.org/appid */
|
||||
|
||||
/* I2C PINS */
|
||||
//#define I2C_SDA 21 /* I2C SDA pin. It is best to connect to pin 21. */
|
||||
@@ -41,11 +46,12 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
/******************************************/
|
||||
|
||||
/* VS1053 PINS. VS1053 SCK must be connected to pin 18
|
||||
VS1053 MISO must be connected to pin 19
|
||||
VS1053 MOSI must be connected to pin 23 */
|
||||
//#define VS1053_CS 255 /* Should be set to 255 if the board is not used */
|
||||
//#define VS1053_DCS 25
|
||||
//#define VS1053_DREQ 26
|
||||
//#define VS1053_RST -1 /* Set to -1 if connected to Esp EN pin */
|
||||
//#define VS1053_CS 255 /* XCS pin. Should be set to 255 if the board is not used */
|
||||
//#define VS1053_DCS 25 /* XDCS pin. */
|
||||
//#define VS1053_DREQ 26 /* DREQ pin. */
|
||||
//#define VS1053_RST -1 /* XRESET pin. Set to -1 if connected to Esp EN pin */
|
||||
/******************************************/
|
||||
|
||||
/* ENCODER */
|
||||
@@ -91,41 +97,25 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
DO must be connected to pin 19
|
||||
IRQ - not connected */
|
||||
//#define TS_CS 255 /* Touch screen CS pin
|
||||
//#define TS_ROTATE 1 /* Touch screen rotation. 0 - 0, 1 - 90, 2 - 180, 3 - 270 degrees */
|
||||
//#define TS_DBG false /* Generate debug to Serial output */
|
||||
/******************************************/
|
||||
|
||||
/* Other settings. */
|
||||
//#define DTYPE INITR_BLACKTAB /* ST7735 display submodel */
|
||||
/* Could be one of: */
|
||||
/* INITR_BLACKTAB 1.8' https://aliexpress.com/item/1005002822797745.html */
|
||||
/* (See this note If INITR_BLACKTAB have a noisy line on one side of the screen https://github.com/e2002/yoradio#note-if-initr_blacktab-dsp-have-a-noisy-line-on-one-side-of-the-screen-then-in-adafruit_st7735cpp ) */
|
||||
/* INITR_144GREENTAB // 1.44' https://aliexpress.com/item/1005002822797745.html */
|
||||
/* INITR_MINI160x80 // 0.96' 160x80 ST7735S https://???? */
|
||||
/* INITR_GREENTAB */
|
||||
/* INITR_REDTAB */
|
||||
/* Could be one of: */
|
||||
/* INITR_BLACKTAB 1.8' https://aliexpress.com/item/1005002822797745.html */
|
||||
/* (See this note If INITR_BLACKTAB have a noisy line on one side of the screen https://github.com/e2002/yoradio#note-if-initr_blacktab-dsp-have-a-noisy-line-on-one-side-of-the-screen-then-in-adafruit_st7735cpp ) */
|
||||
/* INITR_144GREENTAB // 1.44' https://aliexpress.com/item/1005002822797745.html */
|
||||
/* INITR_MINI160x80 // 0.96' 160x80 ST7735S https://???? */
|
||||
/* INITR_GREENTAB */
|
||||
/* INITR_REDTAB */
|
||||
//#define LED_BUILTIN 2 /* LED Pin */
|
||||
//#define TFT_ROTATE 3 /* Display rotation. 0 - 0, 1 - 90, 2 - 180, 3 - 270 degrees */
|
||||
//#define TFT_CONTRAST 55 /* Nokia 5110 contrast */
|
||||
//#define TFT_INVERT true /* Invert the display colors (usually true) */
|
||||
//#define VOL_STEP 1 /* Volume control step */
|
||||
//#define VOL_ACCELERATION 200 /* Encoder vol acceleration; 0 or 1 means disabled acceleration */
|
||||
//#define MUTE_PIN 255 /* MUTE Pin */
|
||||
//#define MUTE_VAL HIGH /* Write this to MUTE_PIN when player is stopped */
|
||||
//#define PL_WITH_NUMBERS /* show the number of station in the playlist */
|
||||
//#define BRIGHTNESS_PIN 255 /* Pin for adjusting the brightness of the display (output 0 - 3v3) */
|
||||
//#define PLAYER_FORCE_MONO false /* mono option on boot - false stereo, true mono */
|
||||
//#define SNTP_SERVER "pool.ntp.org", "0.ru.pool.ntp.org" /* custom ntp servers min 1 max 3 comma separated values */
|
||||
//#define I2S_INTERNAL false /* If true - use esp32 internal DAC */
|
||||
//#define SOFT_AP_REBOOT_DELAY 0 /* Delay in milliseconds after which ESP is rebooting if it is in softAP mode (0 - disabled) */
|
||||
//#define ENABLE_VU_METER false /* enable? vu meter for some displays */
|
||||
/*
|
||||
* !!! Important !!!
|
||||
* if you enable this feathure on the esp32 wroom, due to lack of memory, you must modify the file Arduino/libraries/AsyncTCP/src/AsyncTCP.cpp
|
||||
* replace the line 221
|
||||
* xTaskCreateUniversal(_async_service_task, "async_tcp", 8192 * 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
|
||||
* with
|
||||
* xTaskCreateUniversal(_async_service_task, "async_tcp", 8192 / 2, NULL, 3, &_async_service_task_handle, CONFIG_ASYNC_TCP_RUNNING_CORE);
|
||||
*/
|
||||
//#define ROTATE_90 false /* Optional 90 degree rotation for square displays */
|
||||
|
||||
/* VU settings. See the default settings for your display in file yoRadio/display_vu.h */
|
||||
/************************************************************************************************************************************************************************************/
|
||||
/* vu left | vu top | band width | band height | band space | num of bands | fade speed | horisontal | Max Bands Color | Min Bands Color */
|
||||
@@ -136,7 +126,6 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
|
||||
/* IR control */
|
||||
//#define IR_PIN 255
|
||||
//#define IR_TIMEOUT 80 /* see kTimeout description in IRremoteESP8266 exsample https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/IRrecvDumpV2/IRrecvDumpV2.ino */
|
||||
//#define IR_TLP 40 /* see kTolerancePercentage description in IRremoteESP8266 exsample https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/IRrecvDumpV2/IRrecvDumpV2.ino */
|
||||
|
||||
/******************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user