Hello,
I'm trying to port over a simple touch sensor project from the Uno to a new MKR WIFI 1010 I just bought and can't seem to get it to work. I'm guessing the issue is with the compatibility of the MPR121 library and my new board. Whenever I include the MPR121 library in a simple serial write or led blink sketch, I lose my COM port and it seems to crash the board.
Any workarounds or other library I can use to interface with the MPR121 12-key Cap Touch Sensor on my MKR 1010?
Best,
Roberto
MPR121 With the MKR 1010
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: MPR121 With the MKR 1010
What code are you trying to compile and what errors are you getting when you compile and upload?
- rbrambila
- Posts: 2
- Joined: Thu Sep 20, 2018 2:03 pm
Re: MPR121 With the MKR 1010
Figured it out... My issue was that A) I had a ported/modified MPR121 library I was reusing (not the latest, official Adafruit repo) and B) I had to swap out some definitions for bit-shifting. I'm now able to re-build my sketch and it's reading the sensor values.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: MPR121 With the MKR 1010
Thanks for posting your solution.
Please be positive and constructive with your questions and comments.