Aldo Ridhoni's Weblog Belajar Menulis

Raspberry Pi LCD


Fix Config.txt

There is a strange bug where the line in this file cannot go beyond a certain length. I have to manually break all parameters into separate line.



Test Transformation

The touch screen for y axis is swapped. Reading from raspberry forum, the configuration is changed from evdev to libinput.

$ env DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Coordinate Transformation Matrix' -1 0 1 0 1 0 0 0 1

Make Permanent


Option "TransformationMatrix" "-1 0 1 0 1 0 0 0 1"

References waveshare wiki

A single pixel