Pico-MCU-from-Raspberry-Pi icon indicating copy to clipboard operation
Pico-MCU-from-Raspberry-Pi copied to clipboard

Pico 2 and Pico 1 Touch Macropad fixes

Open TobiasVanDyk opened this issue 1 year ago • 0 comments

Pico 2's have now been acquired from the local Pishop.co.za Look here or here, but do consider this RP2350 Errata E9 - Pull-down lock-up

Also note issue #3465 regarding resistive touchscreens here. The Bodmer Keypad_240x320.ino example runs on the Waveshare IPS ST7789 LCD Pico Board 320x240 2.8 inch with touch working - but use one of the three 2.5.43 fixes described below. The Pico 2 seems to work with this LCD's resistive touch panel if its calData[5] are about 4388 3451 4492 3465 t. But sometimes parameter 1 and 3 change and are then very large > 10k values (61874 and 61733 have been observed which could be overflow values from the 16-bit variables used in calData), appear, and there is then no touch response.

pico-2

ST7789 LCD Macropad and TFT_eSP V2.5.43 fix: Newer fixes: Use the 3files or 2files fix when using TFT_eSPI-Bodmer version 2.5.43 and also read this

Working2Files.zip WorkingFiles3Files.zip

Old fix: To obtain a working Touch-Macropad for the the Waveshare IPS ST7789 LCD Pico Board 320x240 2.8 inch using Bodmer TFT_eSPI version 2.5.43 replace the file Processors/TFT_eSPI_RP2040.h with the same file from the previous version V2.5.34.

Also see the comment Bodmer/TFT_eSPI/issues/3476: For file TFT_eSPI_RP2040.h Replace: 2.5.43 #define SET_BUS_READ_MODE spi_set_format(SPI_X, 8, (spi_cpol_t)0, (spi_cpha_t)0, SPI_MSB_FIRST) With: 2.5.34 #define SET_BUS_READ_MODE // spi_set_format(SPI_X, 8, (spi_cpol_t)0, (spi_cpha_t)0, SPI_MSB_FIRST)

Choosing an LCD Touch Display: Of the 5 different LCD displays tested here, with the firmware as attached below, my favourite is the fast Waveshare 3.5 inch Type C 125MHz LCD display (even though it is not an IPS screen). It is available here.

Win11 24H2 new icon-bar with labels is good! Old Win11 22H2: Win11Icons

New Win11 24H2: Win11-not-obtuse-icons

TobiasVanDyk avatar Jul 15 '23 05:07 TobiasVanDyk