Hallo Francesco,
Du hast vor 3 Wochen ein DEMO für den MODUL ESP32-8048S070 auf YouTube vorgestellt
ESP32-S3 Annex32 RDS - Demo Gui with LCD RGB 800x480
wo kann man die Konfiguration für den Modul laden ?
oder den Demo Programm.
mit freundlichen Grüßen
Waldemar
Modul ESP32-8048S070
- cicciocb
- Site Admin
- Posts: 2060
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 439 times
- Been thanked: 1360 times
- Contact:
Re: Modul ESP32-8048S070
Hallo Francesco,[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Dec 28, 2023 8:21 pm Do you have the module?
Ja habe ich Heute bekommen frisch aus China...
Grüße
Waldemar
- cicciocb
- Site Admin
- Posts: 2060
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 439 times
- Been thanked: 1360 times
- Contact:
Re: Modul ESP32-8048S070
OK but, please, try yo write in English as this is an English forum ...
To enable this module you must use the following lines of code :
You can then use all the functions for the VGA ... check in the help
To enable this module you must use the following lines of code :
Code: [Local Link Removed for Guests]
vga.pinout 14, 21, 47, 48, 45, 9, 46, 3, 8, 16, 1, 15, 7, 6, 5, 4, 39, 40, 41, 42 'set the pinout
vga.delete 'delete the previous session
i2c.setup 19, 20 'set the i2c pinout for the touchscreen
touch.init 'initialise the touch
option.touch 1 'set the capacitive touchscreen
touch_p = 0
vga.init 12 ' set the mode at 800x480 (aggressive)
pin.mode 2, output ' backlight
pin(2) = 1
- cicciocb
- Site Admin
- Posts: 2060
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 439 times
- Been thanked: 1360 times
- Contact:
Re: Modul ESP32-8048S070
Hi,
this is the code for the demo shown on youtube.
All the files are in the zip file below :
You can simply upload it using the file manager page the Zip Files Upload
Enjoy
this is the code for the demo shown on youtube.
Code: [Local Link Removed for Guests]
vga.pinout 14, 21, 47, 48, 45, 9, 46, 3, 8, 16, 1, 15, 7, 6, 5, 4, 39, 40, 41, 42
vga.delete
i2c.setup 19, 20
touch.init
touch_p = 0
vga.init 12
pin.mode 2, output ' backlight
pin(2) = 1
tft.loadfont "/fonts/FreeSansBold20pt7b.bin", 10
tft.loadfont "/fonts/FreeMonoBold24pt7b.bin", 11
vga.spritesheet "/sprites/buttons5_128x128.bmp"
vgagui.setsprite 0,0,128,128,128,0
vga.show
vgagui.init 50
vgagui.image 0,0,0,0, "/img_800x480/01698_betweenthemountains_800x480.jpg"
dim sprites(10)
for z = 0 to 4
b = vgagui.sprite(40 + z*150, 220,128,128, z+11, z, toggle, 1)
vgagui.SetEvent b, TOUCH, goTouch
next z
for z = 0 to 4
b = vgagui.sprite(40 + z*150, 350,128,128, z+16, z+5, momentary)
vgagui.SetEvent b, TOUCH, goTouch
next z
b1 = vgagui.button(320,10,150,70, "Button", 10, 30)
t1 = vgagui.textline (10,10,300, 70, "textbox", 10)
sld1 = vgagui.slider(10,160, 300, 50, 50, horizontal)
bar1 = vgagui.ProgressBar 10, 90, 300, 50, 50, horizontal)
gau1 = vgagui.gauge(650, 10, 100,100,50)
a1 = vgagui.arc(500,10,100,100,50, 15)
a2 = vgagui.arc(650,120,100,100,50, 20)
c1 = vgagui.checkbox(350, 90, 50,50,0)
c2 = vgagui.checkbox(450, 90, 50,50,0)
r1 = vgagui.checkbox(350, 160, 50,50,0, RADIO, 1)
r1 = vgagui.checkbox(450, 160, 50,50,0, RADIO, 1)
vgagui.setcolor a2, cyan, gold
vgagui.setstyle sld1, 20,0,0
vgagui.SetEvent sld1, CHANGE, sliderChange
vgagui.refresh
vga.show
for z= 1 to 10000000
vgagui.setvalue gau1, z/100
vgagui.setvalue a2, z/10 mod 100
'vgagui.setText t1, str$(z)
touch.read
vgagui.refresh 1, touch.x, touch.y, touch.z
vga.show
next z
end
goTouch:
print "touched",vgagui.target
vgagui.setText t1, str$(vgagui.target,"touched %d", 1)
return
sliderChange:
vgagui.setValue bar1, vgaGUI.GetValue(sld1 )
vgagui.setValue a1, vgaGUI.GetValue(sld1 )
return
Enjoy
You do not have the required permissions to view the files attached to this post.
-
- Posts: 36
- Joined: Sat Feb 20, 2021 9:36 am
- Location: Sindelfingen, Germany
- Has thanked: 141 times
- Been thanked: 10 times
Re: Modul ESP32-8048S070
Just to be on the save side, this is the right module ?
https://de.aliexpress.com/item/10050066 ... ry_from%3A
Rainer
https://de.aliexpress.com/item/10050066 ... ry_from%3A
Rainer
- cicciocb
- Site Admin
- Posts: 2060
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 439 times
- Been thanked: 1360 times
- Contact:
Re: Modul ESP32-8048S070
I think so but take care to buy the one with capacitive touch[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Apr 16, 2024 7:25 pm Just to be on the save side, this is the right module ?
https://de.aliexpress.com/item/10050066 ... ry_from%3A
Rainer