Programming Capacitive Touch Sensor in Python 2.7

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
satre
 
Posts: 8
Joined: Tue Jul 11, 2017 9:18 pm

Programming Capacitive Touch Sensor in Python 2.7

Post by satre »

Hi! I have the momentary capacitive touch sensor, https://www.adafruit.com/product/1374
I also have an old RPi2 that's running a 16x32 LED matrix with an old Adafruit LED Matrix Hat that runs beautifully with Python 2.7 and the old libraries that run it. I want to add the touch sensor to the project so that when you touch the sensor, an image is shown on the LED Matrix. Problem is, the tutorial for the touch sensor says to install Circuit Python and Blinka which needs a newer version of Python.

OK, so I tried updating, and I tried swapping in a new RPi 3B+, but the LED Matrix Hat is not functioning properly on the newer Python and associated libraries, and I spent 1/2 a day trying to troubleshoot (which I'm not really good at) and then just went back to the RPi 2.

Basically then... Can I use the touch sensor with the old Python? If so, how?

Thanks!
Satre

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Programming Capacitive Touch Sensor in Python 2.7

Post by mikeysklar »

I don't know how to make this work without adafruit-blinka installed.

Since you have a Pi3B you can experiment with let's try and get the LED Matrix going first then move on to add the sensor.

What error were you getting stuck at with the LED Matrix?

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”