Skip to content

MatthewLowden/RPi-XPT2046-Touchscreen-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rPi-XPT2046-Touchscreen-Python

Python proof of concept for interfacing an XPT2046 Touch Screen Controller to a Raspberry Pi using SPI (via bit-banged GPIO).

This sample uses the SPI pins on the Raspberry Pi Expansion header. (With the intention that no wiring changes should be required to use SPI drivers, rather than bit-banged GPIO).

More information on Raspberry Pi GPIO can be found here: http://elinux.org/RPi_Low-level_peripherals

This sample code is dependent on the RPi.GPIO library available here: http://pypi.python.org/pypi/RPi.GPIO/

To run:

$ sudo python3 touchMyPi.py

About

Drives an XPT2046 touch panel controller from a Raspberry Pi using SPI via bit-banged GPIO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages