floridadrumm 0 Posted September 14, 2012 Share Posted September 14, 2012 I can't get the touch library for energia to work properly with the cap touch boosterpack. Does anyone know if it is supported? Do I need to do something in particular to get it working? Quote Link to post Share on other sites
energia 484 Posted September 19, 2012 Share Posted September 19, 2012 Are you referring to: https://gist.github.com/2941071 or are you referring to the TI captouch library? Robert Quote Link to post Share on other sites
floridadrumm 0 Posted September 19, 2012 Author Share Posted September 19, 2012 I was referring to: https://github.com/smeenka/Energia/tree ... ries/Touch. I didn't know the other existed. I will see what I can do with the one you mentioned. Thanks! Will Quote Link to post Share on other sites
energia 484 Posted September 20, 2012 Share Posted September 20, 2012 I wrote that code a long time ago and parked it on gist to work on the Energia core. Don't remember though if it was in a working state or not when I parked it. I will pick this up again in a month or so. Quote Link to post Share on other sites
bobricius 0 Posted September 27, 2012 Share Posted September 27, 2012 Any progress with captouch library? Quote Link to post Share on other sites
olivluca 12 Posted October 12, 2012 Share Posted October 12, 2012 I just tried both libraries: CapTouch doesn't seem to be working (it causes Serial to send garbage), Touch compiles after commenting out a couple of lines in the constructor, I'm not 100% sure it works: when I touch the pin I can see isPressed() returning 1, but sometimes it stays at 1 even when I stop touching. Just using a wire though, maybe with a copper plate it works better. Quote Link to post Share on other sites
olivluca 12 Posted October 14, 2012 Share Posted October 14, 2012 Touch compiles after commenting out a couple of lines in the constructor And that's because I didn't notice there was a patch against Energia.h. Quote Link to post Share on other sites
floridadrummer 1 Posted November 20, 2012 Share Posted November 20, 2012 I have the cap touch working with the isPressed function, but I needed to adjust the thresholds in the library. It seems like the touch sensors jump around to much, but I think that could be fixed by playing with the code a little more. energia 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.