-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display lights up but no data displayed #150
Comments
Looks like the settings for pin_tft_cs en pin_tft_dc are reversed. My definition in the config page of the web interface is like this:
|
Thanks Ed will give this a go 😀Sent from my iPhoneOn Jul 5, 2024, at 9:08 AM, Ed Smallenburg ***@***.***> wrote:
Looks like the settings for pin_tft_cs en pin_tft_dc are reversed. My definitieo in the config page of the web interface is lake this:
pin_tft_cs = 2 # GPIO Pin number for TFT "CS"
pin_tft_dc = 4 # GPIO Pin number for TFT "DC"
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Love this project Ed. The back light from the display is on. I'm using your PCB. The backlight seems to be directly connected to the power supply. I'm using the 1.8 SPI 128 x 160
Here is the log:-
--- forcing DTR inactive
--- forcing RTS inactive
Please build project in debug configuration to get more details about an exception.
See https://docs.platformio.org/page/projectconf/build_configurations.html
--- Terminal on COM11 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
[ 33][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
Starting ESP32-radio running on CPU 1 at 240 MHz.
[ 3067][I][main.cpp:2448] setup(): [main] Version Wed, 06 Mar 2024 16:00:00 GMT. Free memory 110580
[ 3069][I][main.cpp:2449] setup(): [main] Display type is BLUETFT
[ 3157][I][main.cpp:2459] setup(): [main] SPIFFS is okay, space 956561, used 32881
[ 3161][I][main.cpp:2480] setup(): [main] Found partition 'nvs ' at offset 0x009000 with size 20480
[ 3163][I][main.cpp:2480] setup(): [main] Found partition 'otadata ' at offset 0x00E000 with size 8192
[ 3173][I][main.cpp:2480] setup(): [main] Found partition 'spiffs ' at offset 0x2F0000 with size 1048576
[ 3182][I][main.cpp:2480] setup(): [main] Found partition 'coredump' at offset 0x3F0000 with size 65536
[ 3193][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::($)pin_i2s_bck type=33
[ 3199][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::($)pin_i2s_din type=33
[ 3207][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::($)pin_i2s_lck type=33
[ 3214][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::batt0 type=33
[ 3221][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::batt100 type=33
[ 3228][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::clk_dst type=33
[ 3234][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::clk_offset type=33
[ 3242][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::clk_server type=33
[ 3249][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_00 type=33
[ 3256][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_16 type=33
[ 3262][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_17 type=33
[ 3269][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_21 type=33
[ 3276][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_25 type=33
[ 3283][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::gpio_33 type=33
[ 3290][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::ir_40BF type=33
[ 3297][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::ir_C03F type=33
[ 3304][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::mqttbroker type=33
[ 3311][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::mqttpasswd type=33
[ 3318][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::mqttport type=33
[ 3325][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::mqttprefix type=33
[ 3332][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::mqttuser type=33
[ 3339][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_enc_clk type=33
[ 3346][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_enc_dt type=33
[ 3353][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_enc_sw type=33
[ 3360][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_ir type=33
[ 3367][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_tft_cs type=33
[ 3374][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_tft_dc type=33
[ 3381][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_vs_cs type=33
[ 3388][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_vs_dcs type=33
[ 3395][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::pin_vs_dreq type=33
[ 3403][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_00 type=33
[ 3410][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_01 type=33
[ 3417][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_02 type=33
[ 3424][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_03 type=33
[ 3431][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_04 type=33
[ 3438][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_05 type=33
[ 3445][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_06 type=33
[ 3452][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_07 type=33
[ 3459][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_08 type=33
[ 3466][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_09 type=33
[ 3473][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_10 type=33
[ 3480][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset_11 type=33
[ 3487][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::toneha type=33
[ 3494][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::tonehf type=33
[ 3500][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::tonela type=33
[ 3507][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::tonelf type=33
[ 3514][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::wifi_00 type=33
[ 3521][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::wifi_01 type=33
[ 3528][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::volume type=33
[ 3535][I][main.cpp:2338] fillkeylist(): [main] ESP32-Radio::preset type=33
[ 3541][I][main.cpp:2351] fillkeylist(): [main] Read 50 keys from NVS
[ 3554][I][main.cpp:1852] readIOprefs(): [main] 'pin_ir ' set to 35
[ 3555][I][main.cpp:1852] readIOprefs(): [main] 'pin_enc_clk ' set to 12
[ 3561][I][main.cpp:1852] readIOprefs(): [main] 'pin_enc_dt ' set to 14
[ 3568][I][main.cpp:1852] readIOprefs(): [main] 'pin_enc_sw ' set to 13
[ 3575][I][main.cpp:1852] readIOprefs(): [main] 'pin_tft_cs ' set to 4
[ 3581][I][main.cpp:1852] readIOprefs(): [main] 'pin_tft_dc ' set to 2
[ 3588][I][main.cpp:1852] readIOprefs(): [main] 'pin_vs_cs ' set to 5
[ 3594][I][main.cpp:1852] readIOprefs(): [main] 'pin_vs_dcs ' set to 32
[ 3601][I][main.cpp:1852] readIOprefs(): [main] 'pin_vs_dreq ' set to 15
[ 3607][I][main.cpp:1852] readIOprefs(): [main] 'pin_spi_sck ' set to 18
[ 3613][I][main.cpp:1852] readIOprefs(): [main] 'pin_spi_miso ' set to 19
[ 3620][I][main.cpp:1852] readIOprefs(): [main] 'pin_spi_mosi ' set to 23
[ 3637][I][main.cpp:2519] setup(): [main] GPIO0 is HIGH
[ 3646][I][main.cpp:2519] setup(): [main] GPIO2 is LOW, probably no PULL-UP
[ 3656][I][main.cpp:2519] setup(): [main] GPIO4 is HIGH
[ 3666][I][main.cpp:2519] setup(): [main] GPIO5 is HIGH
[ 3676][I][main.cpp:2519] setup(): [main] GPIO12 is LOW, probably no PULL-UP
[ 3686][I][main.cpp:2519] setup(): [main] GPIO13 is HIGH
[ 3696][I][main.cpp:2519] setup(): [main] GPIO14 is LOW, probably no PULL-UP
[ 3706][I][main.cpp:2519] setup(): [main] GPIO15 is HIGH
[ 3716][I][main.cpp:2519] setup(): [main] GPIO16 is HIGH
[ 3726][I][main.cpp:2519] setup(): [main] GPIO17 is HIGH
[ 3736][I][main.cpp:2519] setup(): [main] GPIO18 is HIGH
[ 3746][I][main.cpp:2519] setup(): [main] GPIO19 is HIGH
[ 3756][I][main.cpp:2519] setup(): [main] GPIO21 is HIGH
[ 3766][I][main.cpp:2519] setup(): [main] GPIO22 is HIGH
[ 3776][I][main.cpp:2519] setup(): [main] GPIO23 is HIGH
[ 3786][I][main.cpp:2519] setup(): [main] GPIO25 is HIGH
[ 3796][I][main.cpp:2519] setup(): [main] GPIO26 is HIGH
[ 3806][I][main.cpp:2519] setup(): [main] GPIO27 is HIGH
[ 3816][I][main.cpp:2519] setup(): [main] GPIO32 is HIGH
[ 3826][I][main.cpp:2519] setup(): [main] GPIO33 is HIGH
[ 3836][I][main.cpp:2519] setup(): [main] GPIO34 is LOW, probably no PULL-UP
[ 3846][I][main.cpp:2519] setup(): [main] GPIO35 is LOW, probably no PULL-UP
[ 3856][I][main.cpp:2519] setup(): [main] GPIO39 is LOW, probably no PULL-UP
[ 3857][I][main.cpp:1688] readprogbuttons(): [main] gpio_00 will execute uppreset = 1
[ 3861][I][main.cpp:1688] readprogbuttons(): [main] gpio_16 will execute stop
[ 3867][I][main.cpp:1688] readprogbuttons(): [main] gpio_17 will execute resume
[ 3875][I][main.cpp:1688] readprogbuttons(): [main] gpio_21 will execute station = icecast.omroep.nl:80/radio1-bb-mp3
[ 3885][I][main.cpp:1688] readprogbuttons(): [main] gpio_25 will execute upvolume = 2
[ 3893][I][main.cpp:1688] readprogbuttons(): [main] gpio_33 will execute downvolume = 2
[ 3901][I][main.cpp:2531] setup(): [main] Enable pin 35 for IR
[ 3906][I][main.cpp:2536] setup(): [main] Start BLUETFT display
[ 4695][I][main.cpp:2220] mk_lsan(): [main] Create list with acceptable WiFi networks
[ 4696][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: Devices
[ 4699][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: Devices
[ 4706][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: SSID2
[ 5230][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 0 - WIFI_READY
[ 5310][V][WiFiGeneric.cpp:340] _arduino_event_cb(): STA Started
[ 5311][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 2 - STA_START
[ 5834][I][main.cpp:895] nextPreset(): [main] nextPreset is 0
[ 5849][I][main.cpp:2580] setup(): [main] Connect to network
[ 5854][V][WiFiGeneric.cpp:343] _arduino_event_cb(): STA Stopped
[ 5855][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 3 - STA_STOP
[ 6866][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 0 - WIFI_READY
[ 6870][V][WiFiGeneric.cpp:340] _arduino_event_cb(): STA Started
[ 6871][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 2 - STA_START
[ 9385][V][WiFiGeneric.cpp:383] _arduino_event_cb(): SCAN Done: ID: 128, Status: 0, Results: 5
[ 9386][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 1 - SCAN_DONE
[ 9390][I][WiFiMulti.cpp:114] run(): [WIFI] scan done
[ 9395][I][WiFiMulti.cpp:119] run(): [WIFI] 5 networks found
[ 9400][D][WiFiMulti.cpp:151] run(): 0: [6][74:AC:B9:2D:9C:06] Home network (-49) *
[ 9408][D][WiFiMulti.cpp:149] run(): ---> 1: [6][7A:AC:B9:2D:9C:06] Devices (-51) *
[ 9416][D][WiFiMulti.cpp:149] run(): ---> 2: [11][46:D9:E7:0B:2C:22] Devices (-81) *
[ 9424][D][WiFiMulti.cpp:151] run(): 3: [11][44:D9:E7:0B:2C:22] Home network (-81) *
[ 9432][D][WiFiMulti.cpp:151] run(): 4: [6][4A:9E:BD:6E:90:CB] DIRECT-CB-HP (-86) *
[ 9440][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: 7A:AC:B9:2D:9C:06 SSID: Devices Channel: 6 (-51)
[ 9451][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: 0.0.0.0, MASK: 0.0.0.0, GW: 0.0.0.0
[ 10085][V][WiFiGeneric.cpp:355] _arduino_event_cb(): STA Connected: SSID: Devices, BSSID: 7a:ac:b9:2d:9c:06, Channel: 6, Auth: WPA2_PSK
[ 10086][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 4 - STA_CONNECTED
[ 10109][V][WiFiGeneric.cpp:369] _arduino_event_cb(): STA Got New IP:2.2.2.143
[ 10110][D][WiFiGeneric.cpp:1039] _eventCallback(): Arduino Event: 7 - STA_GOT_IP
[ 10113][D][WiFiGeneric.cpp:1102] _eventCallback(): STA IP: 2.2.2.143, MASK: 255.255.255.0, GW: 2.2.2.1
[ 10122][I][WiFiMulti.cpp:174] run(): [WIFI] Connecting done.
[ 10127][D][WiFiMulti.cpp:175] run(): [WIFI] SSID: Devices
[ 10133][D][WiFiMulti.cpp:176] run(): [WIFI] IP: 2.2.2.143
[ 10138][D][WiFiMulti.cpp:177] run(): [WIFI] MAC: 7A:AC:B9:2D:9C:06
[ 10144][D][WiFiMulti.cpp:178] run(): [WIFI] Channel: 6
[ 10151][I][main.cpp:1569] connectwifi(): [main] SSID = Devices
[ 10154][I][main.cpp:1573] connectwifi(): [main] IP = 2.2.2.143
[ 10164][I][main.cpp:2590] setup(): [main] Start web server
[ 10167][I][main.cpp:2601] setup(): [main] Network found. Starting clients
[ 10178][I][main.cpp:2635] setup(): [main] MDNS responder started
[ 11180][I][main.cpp:2673] setup(): [main] Rotary encoder is enabled
[ 11180][I][main.cpp:4251] gettime(): [main] Sync TOD
[ 11871][I][main.cpp:4264] gettime(): [main] TOD synced
[ 11871][I][main.cpp:4286] playtask(): [main] Starting VS1053 playtask..
[ 12002][I][VS1053.cpp:129] testComm(): [VS1053] Slow SPI, Testing VS1053 read/write registers...
[ 12251][I][VS1053.cpp:129] testComm(): [VS1053] Fast SPI, Testing VS1053 read/write registers again...
[ 13989][I][main.cpp:895] nextPreset(): [main] nextPreset is 11
[ 13990][I][main.cpp:3285] radiofuncs(): [main] Radiofuncs cmd is 1
[ 13990][I][main.cpp:4328] playtask(): [main] QSTOPSONG
[ 13992][I][main.cpp:1330] connecttohost(): [main] Connect to host 26453.live.streamtheworld.com/SP_R3000425_SC
[ 14017][I][VS1053.cpp:286] stopSong(): [VS1053] Song stopped correctly after 0 msec
[ 14191][I][main.cpp:2406] onConnect(): [main] Connected to host at 208.80.52.121 on port 80
[ 14207][I][main.cpp:1391] connecttohost(): [main] send GET command
[ 14235][W][AsyncTCP.cpp:950] _poll(): rx timeout 4
[ 14884][I][main.cpp:3534] handlebyte_ch(): [main] Switch to HEADER
[ 14885][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Expires: Thu, 01 Dec 2003 16:00:00 GMT
[ 14889][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Cache-Control: no-cache, must-revalidate
[ 14897][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Pragma: no-cache
[ 14904][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Allow-Header: *
[ 14913][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Allow-Methods: GET, HEAD
[ 14922][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Allow-Origin: *
[ 14930][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Allow-Credentials: true
[ 14939][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Expose-Headers: *
[ 14947][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Access-Control-Max-Age: 8640000
[ 14956][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: X-STW-lsid: cookie:e07d2f75-70ee-4589-a674-ea71289501a7
[ 14966][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Set-Cookie: uuid=e07d2f75-70ee-4589-a674-ea71289501a7; expires=Sat, 03 Aug 2024 22:18:54 GMT; path=/; domain=.live.streamtheworld.com
[ 14984][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Set-Cookie: uuid-s=e07d2f75-70ee-4589-a674-ea71289501a7; expires=Sat, 03 Aug 2024 22:18:54 GMT; path=/; domain=.live.streamtheworld.com; SameSite=None; Secure; HttpOnly
[ 15004][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Content-Type: audio/mpeg
[ 15011][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Connection: close
[ 15018][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-name: Yacht Rock Hits
[ 15026][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-description: The Biggest Hits Of The Yacht Rock Genre | 24/7/365
[ 15038][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-url: http://spacial.com
[ 15046][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-genre:
[ 15052][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-br: 128
[ 15059][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: icy-metaint: 16000
[ 15066][I][main.cpp:3555] handlebyte_ch(): [main] Headerline: Server: MediaGateway 6.7.3-0832.el6
[ 15075][I][main.cpp:3625] handlebyte_ch(): [main] Switch to DATA, bitrate is 128 kbps, metaint is 16000
[ 15084][I][main.cpp:4320] playtask(): [main] QSTARTSONG
[ 15196][I][main.cpp:1224] showstreamtitle(): [main] Streamtitle found, 44 bytes
[ 15196][I][main.cpp:1225] showstreamtitle(): [main] StreamTitle='Turley Richards - Stand By Me';
The text was updated successfully, but these errors were encountered: