I'm trying to use the MPR121 touch sensor with Sming but am getting no where...... other than more confused
Would any of you good people be able to provide an example to get me going?
Thanks!
Explore... Chat... Share...
jmccoy555 wrote:So, it turns out to be quite easy once you know how!!!
1. Download, extract and put the Adafruit library in the Sming/Libraries folder
2. I had to change line 87 from __attribute__((deprecated)) void setThreshholds(uint8_t touch, uint8_t release); to void setThreshholds(uint8_t touch, uint8_t release);
3. Remake sming (wasn't an obvious step to me until I though about it, make clean - make - make spiffy
4 Cobble together some code based on the Arduino example (not sure if its 100% accurate and correct but it works!);
Hope that helps someone out! I guess it would be similar for other libraries too.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]