2.4"TFT P095 fonts

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Affinite
Normal user
Posts: 57
Joined: 03 Apr 2018, 18:46

2.4"TFT P095 fonts

#1 Post by Affinite » 10 Feb 2022, 17:52

Hi I am playing around with a TFT display
I can get most commands to work, but cant get the command
tft,font,SEVENSEG18
to work. It just returns
Command unknown: tft,font,SEVENSEG18

Is there something I need to turn on to get this to work ?
Thanks

User avatar
Ath
Normal user
Posts: 3506
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 2.4"TFT P095 fonts

#2 Post by Ath » 10 Feb 2022, 19:54

It depends on the build of ESPEasy that you are running wether these extra fonts are available.
Seeing that this Plugin is only available in the DISPLAY build, and that doesn't have the space to allow inclusion of the fonts, you would have to create a Custom build to have that option, the regular Custom builds don't have it included.
Or you can use an ESP32 with 16 MB Flash and a MAX build installed, as that has all plugins and options (that will work on an ESP32) included.
/Ton (PayPal.me)

Affinite
Normal user
Posts: 57
Joined: 03 Apr 2018, 18:46

Re: 2.4"TFT P095 fonts

#3 Post by Affinite » 10 Feb 2022, 19:57

Ath
Thanks. I dont know how to do a custom build so I'll stick with default font

User avatar
Ath
Normal user
Posts: 3506
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 2.4"TFT P095 fonts

#4 Post by Ath » 10 Feb 2022, 21:44

What ESP & Flash configuration are you using? I can build one for you.
/Ton (PayPal.me)

Affinite
Normal user
Posts: 57
Joined: 03 Apr 2018, 18:46

Re: 2.4"TFT P095 fonts

#5 Post by Affinite » 11 Feb 2022, 11:03

Ton thats very kind of you -
I'd prefer to stay on my ESP8266 with 4M flash for this project although I do have a flashed ESP32 if necessary.

Code: Select all

Unit Number:	2
Local Time:	2022-02-11 10:00:20
Time Source:	NTP
Time Wander:	0.000 [msec/sec]
Uptime:	0 days 0 hours 13 minutes
Load:	44.62% (LC=1343)
CPU Eco Mode:	false
Boot:	Cold Boot (0)
Reset Reason:	Power On
Last Action before Reboot:	Background Task
SW WD count:	0
Memory
Free RAM:	15184
Free Stack:	3696
Network
IP Config:	DHCP
IP / Subnet:	
Gateway:	
Client IP:	
DNS:	
Allowed IP Range:	All Allowed
Connected:	11 m 33 s
Number Reconnects:	0
WiFi ❔
WiFi Connection:	802.11n (RSSI -29 dBm)
SSID:	BT-RKASGK (80:3F:5D:FA:21:D5)
Channel:	4
Encryption Type:	WPA/WPA2/PSK
Last Disconnect Reason:	(1)
Configured SSID1:	Canopus
Configured SSID2:	BT-RKASGK
STA MAC:	60:01:94:1F:7B:07
AP MAC:	62:01:94:1F:7B:07
WiFi Settings
Force WiFi B/G:	false
Restart WiFi Lost Conn:	false
Force WiFi No Sleep:	false
Periodical send Gratuitous ARP:	true
Connection Failure Threshold:	0
Max WiFi TX Power:	17.50
Current WiFi TX Power:	0.00
WiFi Sensitivity Margin:	3
Send With Max TX Power:	false
Extra WiFi scan loops:	0
Use Last Connected AP from RTC:	false
Firmware
Build:⋄	20116 - Mega
System Libraries:⋄	ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄	mega-20211224_f162ebf
Plugin Count:⋄	57 [Normal]
Build Origin:	GitHub Actions
Build Time:⋄	Dec 24 2021 14:30:50
Binary Filename:⋄	ESP_Easy_mega_20211224_display_ESP8266_4M1M
Build Platform:⋄	Linux-5.4.0-54-generic-x86_64-with-glibc2.29
Git HEAD:⋄	mega-20211224_f162ebf
System Status
Syslog Log Level:	None
Serial Log Level:	Info
Web Log Level:	None
Network Services
Network Connected:	✔
NTP Initialized:	✔
ESP Board
ESP Chip ID:	2063111 (0x1F7B07)
ESP Chip Frequency:	80 MHz
ESP Chip Model:	ESP8266
ESP Chip Cores:	1
ESP Board Name:	PLATFORMIO_ESP12E
Storage
Flash Chip ID:	Vendor: 0xC8 Device: 0x4016
Flash Chip Real Size:	4096 kB
Flash IDE Size:	4096 kB
Flash IDE Speed:	40 MHz
Flash IDE Mode:	DOUT
Flash Writes:	1 daily / 2 boot
Sketch Size:	987 kB (2084 kB free)
Max. OTA Sketch Size:	1019 kB (1044464 bytes)
OTA possible:	true
OTA 2-step Needed:	false
SPIFFS Size:	934 kB (840 kB free)

Powered by Let's Control It community
Having only just started to get the hang of ESPEASY Rules, Platform I/O etc is beyond me at present.
Thanks again

User avatar
Ath
Normal user
Posts: 3506
Joined: 10 Jun 2018, 12:06
Location: NL

Re: 2.4"TFT P095 fonts

#6 Post by Ath » 11 Feb 2022, 14:32

I've created 3 builds for you:

- the latest 'mega' sources based Custom build, with included P095 (ILI9341), P096 (eInk) and P099 (XPT2048 Touch) - Custom based on PR3903, adding support for extra ILI9xxx TFT controllers, including the same plugins - Custom, based on PR3761, adding support for ST77xx TFT displays (P116), FT6206 Touch (P123) and the extra ILI9xxx TFT controllers, and also for shared command parsing and extra features for P095 and P096, similar to & shared with P116 (ST77xx). NB: The .bin filenames are the same for all 3 builds!
/Ton (PayPal.me)

Affinite
Normal user
Posts: 57
Joined: 03 Apr 2018, 18:46

Re: 2.4"TFT P095 fonts

#7 Post by Affinite » 12 Feb 2022, 09:22

Ath
Thank you
I'll let you know how I get on.
Wish I could return the favour somehow.

Affinite
Normal user
Posts: 57
Joined: 03 Apr 2018, 18:46

Re: 2.4"TFT P095 fonts

#8 Post by Affinite » 12 Feb 2022, 17:54

Ath
Unfortunately none of those custom builds would flash properly.
(I tried OTA and ESP Easy Flasher toll but ESP wouldn't boot after flashing)

Post Reply

Who is online

Users browsing this forum: No registered users and 67 guests