Skip to content

Linux shared-library for python. Simple drawing and reading clicked words on touch screen

License

Notifications You must be signed in to change notification settings

slmnv5/touchscreen4py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

touchscreen4py

Linux shared library for Python.

This library is used with (Pepelats audio looper)[https://github.com/slmnv5/pepelats] written in Python.

It provides graphical output and can read click events from LCD touch screen. It uses framebuffer and does not need X-server. As an examle, one exported function reads word clicked on a screen, this allows to make simple menu in Python by printing text and reading user input.

Lines in config.txt on raspbian for LCD driver, rotation of screen, rotation and calibration of touch screen

dtparam=spi=on

dtoverlay=mhs35:rotate=270,swapxy=1,pmax=100

About

Linux shared-library for python. Simple drawing and reading clicked words on touch screen

Topics

Resources

License

Stars

Watchers

Forks

Languages