I already started a thread in chipKit forums(http://chipkit.net/forum/viewtopic.php?f=7&t=3189) and (http://chipkit.net/forum/viewtopic.php?f=7&t=3117) but no one was able to reply so you guys are my last hope. In my last post() I discussed about my intention to use a 2 wire interface device/I2C but I got problems whenever I go. I use a chipkit Wi-Fire board and i want to use an MPR121 capacitive touchpad with it and I have 2 coding options:
- The sparkfun's MPR121 code approach(https://www.sparkfun.com/products/12017) which uses i2c functions which is massive and the code gives me a million of errors and an "AVR specific code incompatible with MPIDE" which is a big "no no".
- The Adafruit's MPR121 code approach(https://learn.adafruit.com/adafruit-mpr121-12-key-capacitive-touch-sensor-breakout-tutorial/wiring) which gives me just 1 error related with the inability of the chipkit libraries to handle multiple states or something. Basically the code has a wire.endtransmission(false); and chipkit only has wire.endtransmission(); funtion. So I would like to ask you guys for an equivalent of that code. Or the library needs modifications. Maybe Keith Vogel from Digilent knows how to fix this as he designed the library.
Question
alexceltare2
I already started a thread in chipKit forums(http://chipkit.net/forum/viewtopic.php?f=7&t=3189) and (http://chipkit.net/forum/viewtopic.php?f=7&t=3117) but no one was able to reply so you guys are my last hope. In my last post() I discussed about my intention to use a 2 wire interface device/I2C but I got problems whenever I go. I use a chipkit Wi-Fire board and i want to use an MPR121 capacitive touchpad with it and I have 2 coding options:
- The sparkfun's MPR121 code approach(https://www.sparkfun.com/products/12017) which uses i2c functions which is massive and the code gives me a million of errors and an "AVR specific code incompatible with MPIDE" which is a big "no no".
- The Adafruit's MPR121 code approach(https://learn.adafruit.com/adafruit-mpr121-12-key-capacitive-touch-sensor-breakout-tutorial/wiring) which gives me just 1 error related with the inability of the chipkit libraries to handle multiple states or something. Basically the code has a wire.endtransmission(false); and chipkit only has wire.endtransmission(); funtion. So I would like to ask you guys for an equivalent of that code. Or the library needs modifications. Maybe Keith Vogel from Digilent knows how to fix this as he designed the library.
Thank you in advance everyone.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.