Skip to content

Commit ef14938

Browse files
committed
v0.8.03b
1 parent bfb6cd8 commit ef14938

33 files changed

+1860
-176
lines changed

Images.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,6 @@
5757
\
5858
![ёRadio](images/img27.jpg)\
5959
\
60-
![ёRadio](images/img28.jpg)
60+
![ёRadio](images/img28.jpg)\
61+
\
62+
![ёRadio](images/img29.jpg)

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ https://aliexpress.com/item/32965676064.html
4545
- or **LCD1602** 16x2 I2C https://aliexpress.com/item/32305776560.html
4646
- or **LCD1602** 16x2 without I2C https://aliexpress.com/item/32305776560.html
4747
- or **SSD1327** 1.5' 128x128 I2C https://aliexpress.com/item/1005001414175498.html
48-
- or **ILI9341** 3.2'320x240 SPI https://aliexpress.com/item/33048191074.html
48+
- or **ILI9341** 3.2' 320x240 SPI https://aliexpress.com/item/33048191074.html
49+
- or **ILI9341** 2.8' 320x240 SPI https://aliexpress.com/item/1005004502250619.html
4950
- or **SSD1305 (SSD1309)** 2.4' 128x64 SPI/I2C https://aliexpress.com/item/32950307344.html
5051
- or **SH1107** 0.96' 128x64 I2C https://aliexpress.com/item/4000551696674.html
5152
- or **GC9106** 0.96' 160x80 SPI (looks like ST7735S, but it's not him) https://aliexpress.com/item/32947890530.html
5253
- or **LCD2004** 20x4 I2C https://aliexpress.com/item/32783128355.html
5354
- or **LCD2004** 20x4 without I2C https://aliexpress.com/item/32783128355.html
5455
- or **ILI9225** 2.0' 220x176 SPI https://aliexpress.com/item/32952021835.html
5556
- or **Nextion displays** - [more info](https://github.com/e2002/yoradio/tree/main/nextion)
57+
- or **ST7796** 3.5' 480x320 SPI https://aliexpress.com/item/1005004632953455.html?sku_id=12000029911293172
5658

5759
##### Controls
5860
- Three tact buttons https://www.aliexpress.com/item/32907144687.html
@@ -299,6 +301,16 @@ Work is in progress...
299301

300302
---
301303
## Version history
304+
#### v0.8.03b
305+
- added support for ST7796 display
306+
- added support for capacitive touch GT911
307+
- HSPI bus support added - DSP_HSPI, VS_HSPI, TS_HSPI options More details in examples/myoptions.h
308+
- changed the method of connecting the touchscreen in myoptions.h Now instead of specifying TS_CS, you must specify TS_MODEL (by default TS_MODEL_UNDEFINED) More details in examples/myoptions.h
309+
- new parameters TS_SDA, TS_SCL, TS_INT, TS_RST for GT911 touchscreen
310+
- new parameters LIGHT_SENSOR and AUTOBACKLIGHT - to automatically adjust the brightness of the display. More details in examples/myoptions.h
311+
- new parameter LED_INVERT (true/false) - to invert the behavior of the built-in LED
312+
- fixed bug with extra sign } in humidity value
313+
302314
#### v0.8.02b
303315
- fixed artifacts when displaying the volume level
304316
- changes in mytheme.h . Added colors COLOR_PL_CURRENT, COLOR_PL_CURRENT_BG, COLOR_PL_CURRENT_FILL. Details in [exsamples/mytheme.h](exsamples/mytheme.h)

exsamples/myoptions.h

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
1010
1111
********************************************************/
1212
#define LED_BUILTIN 2 /* Onboard LED Pin */
13+
//#define LED_INVERT false /* Invert Onboard LED? */
1314
#define L10N_LANGUAGE EN /* Language (EN, RU). More info in yoRadio/locale/displayL10n_(en|ru).h
1415
1516
/* DSP_MODEL. See description/available values in https://github.com/e2002/yoradio/wiki/Available-display-models */
@@ -25,11 +26,14 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
2526
*/
2627
/******************************************/
2728

28-
/* SPI PINS. SCL(SCK, CLK) must be connected to pin 18
29-
SDA(MOSI, DIN, SDI) must be connected to pin 23 */
29+
/* VSPI PINS. SCL(SCK, CLK) must be connected to pin 18
30+
SDA(MOSI, DIN, SDI) must be connected to pin 23 */
3031
//#define TFT_CS 5 /* SPI CS pin */
3132
//#define TFT_RST 15 /* SPI RST pin. set to -1 and connect to Esp EN pin */
3233
//#define TFT_DC 4 /* SPI DC/RS pin */
34+
/* HSPI PINS. SCL(SCK, CLK) must be connected to pin 14
35+
SDA(MOSI, DIN, SDI) must be connected to pin 13 */
36+
//#define DSP_HSPI false /* Use HSPI for display */
3337
/******************************************/
3438

3539
/* NEXTION */
@@ -47,13 +51,17 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
4751
//#define I2S_LRC 25 /* WSEL Left Right Clock */
4852
/******************************************/
4953

50-
/* VS1053 PINS. VS1053 SCK must be connected to pin 18
51-
VS1053 MISO must be connected to pin 19
52-
VS1053 MOSI must be connected to pin 23 */
54+
/* VS1053 VSPI PINS. VS1053 SCK must be connected to pin 18
55+
VS1053 MISO must be connected to pin 19
56+
VS1053 MOSI must be connected to pin 23 */
5357
//#define VS1053_CS 255 /* XCS pin. Should be set to 255 if the board is not used */
5458
//#define VS1053_DCS 25 /* XDCS pin. */
5559
//#define VS1053_DREQ 26 /* DREQ pin. */
5660
//#define VS1053_RST -1 /* XRESET pin. Set to -1 if connected to Esp EN pin */
61+
/* VS1053 HSPI PINS. VS1053 SCK must be connected to pin 14
62+
VS1053 MISO must be connected to pin 12
63+
VS1053 MOSI must be connected to pin 13 */
64+
//#define VS_HSPI false /* Use HSPI for VS */
5765
/******************************************/
5866

5967
/* ENCODER */
@@ -94,11 +102,25 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
94102
/******************************************/
95103

96104
/* TOUCHSCREEN */
97-
/* SPI PINS. CLK must be connected to pin 18
98-
DIN must be connected to pin 23
99-
DO must be connected to pin 19
100-
IRQ - not connected */
101-
//#define TS_CS 255 /* Touch screen CS pin
105+
//#define TS_MODEL TS_MODEL_UNDEFINED /* See description/available values in yoRadio/src/core/options.h */
106+
107+
/* Resistive SPI touch screen */
108+
/* TS VSPI PINS. CLK must be connected to pin 18
109+
DIN must be connected to pin 23
110+
DO must be connected to pin 19
111+
IRQ - not connected */
112+
//#define TS_CS 255 /* Touch screen CS pin */
113+
/* TS HSPI PINS. CLK must be connected to pin 14
114+
DIN must be connected to pin 13
115+
DO must be connected to pin 12
116+
IRQ - not connected */
117+
//#define TS_HSPI false /* Use HSPI for Touch screen */
118+
119+
/* Capacitive I2C touch screen */
120+
//#define TS_SDA 33
121+
//#define TS_SCL 32
122+
//#define TS_INT 21
123+
//#define TS_RST 25
102124
/******************************************/
103125

104126
/* Other settings. */
@@ -118,12 +140,9 @@ The connection tables are located here https://github.com/e2002/yoradio#connecti
118140
//#define ROTATE_90 false /* Optional 90 degree rotation for square displays */
119141
//#define WAKE_PIN 255 /* Wake Pin (for manual wakeup from sleep mode. can match with BTN_XXXX, ENC_BTNB, ENC2_BTNB. must be one of: 0,2,4,12,13,14,15,25,26,27,32,33,34,35,36,39) */
120142
/* For sample #define ENC_BTNB 36 - next line - #define WAKE_PIN ENC_BTNB */
121-
/* VU settings. See the default settings for your display in file yoRadio/display_vu.h */
122-
/************************************************************************************************************************************************************************************/
123-
/* vu left | vu top | band width | band height | band space | num of bands | fade speed | horisontal | Max Bands Color | Min Bands Color */
124-
/************************************************************************************************************************************************************************************/
125-
//#define VU_PARAMS2 { VU_X = 4, VU_Y = 60, VU_BW = 10, VU_BH = 34, VU_BS = 2, VU_NB = 8, VU_FS = 2, VU_HOR = 0, VU_COLOR_MAX = TFT_LOGO, VU_COLOR_MIN = SILVER }
126-
/************************************************************************************************************************************************************************************/
143+
//#define LIGHT_SENSOR 255 /* Light sensor */
144+
//#define AUTOBACKLIGHT(x) *function* /* Autobacklight function. See options.h for exsample */
145+
/******************************************/
127146

128147
/* IR control */
129148
//#define IR_PIN 255

images/img29.jpg

202 KB
Loading

0 commit comments

Comments
 (0)