-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Pico 2 and Pico 1 Touch Macropad fixes #3
Labels
Comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Pico 2's have now been acquired from the local Pishop.co.za
Look here or here, but note this RP2350 Errata E9 - Pull-down lock-up. Currently testing 640x480 (two 480x320 screens mounted side-by-side) as touch macropads.
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 four 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.
Similarly the Waveshare LCD Type C (125MHz) was constructed on a breadboard and compiled with Pico SDK 2.1.0, Arduino Pico 4.3 and the included Adafruit_TinyUSB_Arduino 3.3.4, and TFTeSPI 2.5.43. The sourcecode removed PicoSDK RTC functions and PicoSDK includes. This yielded a fully working touchpad with correct calibration data calData[5] = { 288, 3625, 270, 3548, 5 }. BUT using the exact same code, the same Pico 2 and the same LCD, but constructing it on stripboard, was non touch-responsive and yielded incorrect calibration data: calData[5] = { 61745, 3595, 61707, 3444, 5 }. The code and build file used are attached below.
VolumeMacroPad201.zip
Recommended fix: Replace line 52 in the file Processors/TFT_eSPI_RP2040.h with the line as below:
Also try adding: #define TFT_SPI_MODE SPI_MODE0 to TFT_eSPI.h refer to:
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
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.![](https://private-user-images.githubusercontent.com/22213123/322814793-0613bbb4-9b1b-46da-a522-9f934b6a5269.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDk5MjgsIm5iZiI6MTczOTAwOTYyOCwicGF0aCI6Ii8yMjIxMzEyMy8zMjI4MTQ3OTMtMDYxM2JiYjQtOWIxYi00NmRhLWE1MjItOWY5MzRiNmE1MjY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMTM0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM0OGVlN2Y5MzliYjFjYWRkOGYyZmExNDFkMzI1MzYwNjZjZGNhZDg2OTEwMGRmOGRjMWNhMTNhZjFlY2FkYjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GrWwaa3_Xl9U_MT_bBoRMPRWGc3a8IvKeGRN27mrUzE)
Win11 24H2 new icon-bar with labels is good! - but you do not need icons here - they could have used buttons labelled Cut-Copy-Rename-Delete.
Old Win11 22H2:
![Win11Icons](https://private-user-images.githubusercontent.com/22213123/328838965-5ad07bb2-1828-4725-b4c7-97db3b6a0d8c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDk5MjgsIm5iZiI6MTczOTAwOTYyOCwicGF0aCI6Ii8yMjIxMzEyMy8zMjg4Mzg5NjUtNWFkMDdiYjItMTgyOC00NzI1LWI0YzctOTdkYjNiNmEwZDhjLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMTM0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1Yjg2OGUxYmJhOWFkYWE0YzFlNTQyNDdjMzY3Mzg3YzczNmY1OTlkNmVjNmI5ODEzM2VkNGMxNzJmZDk5NmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.z_lQcCIELKRmvKdVPWFW7PFvnNnQ8OlIVzNIJv5PxnI)
New Win11 24H2:
![Win11-not-obtuse-icons](https://private-user-images.githubusercontent.com/22213123/328839076-588d45bf-df09-418a-9e21-f46f0cbb5a3e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDk5MjgsIm5iZiI6MTczOTAwOTYyOCwicGF0aCI6Ii8yMjIxMzEyMy8zMjg4MzkwNzYtNTg4ZDQ1YmYtZGYwOS00MThhLTllMjEtZjQ2ZjBjYmI1YTNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDEwMTM0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc4OGFkYmVmZTY1YWJhYjE1MTA2OGFjOTM5OTY3NGU0MTQzMjkxYmRjZDczMmIzOThhMDk0ZjI0NzEyMGMwYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jBgtPb0y4p7vzLR7ZoUFagA4iPi2QCxUREX1Mj3GtOs)
Windows Audio and Midi News
A
B
The text was updated successfully, but these errors were encountered: