Search the Community
Showing results for tags 'CapTouch'.
-
Guys, I am having some problems with the CapTouch library and need some help from the experts to resolve this. I modified (stripped) the CapTouch button example an uploaded that code to a G2553: #include <CapTouch.h> #define LEFT_BUTTON 10 #define MIDDLE_LED P1_6 uint8_t state = false; CapTouch left = CapTouch(LEFT_BUTTON, TOUCH_BUTTON); void setup() { /* Use the middle LED to indicate touch */ pinMode(MIDDLE_LED, OUTPUT); } void loop() { /* State will be 1 if any of the buttons was touched, otherwise 0 */ state = left.isTouched(); /* Turn on the LED if any of the bu
-
Hi, I am working on a wireless touch controller for 433Mhz dimmer modules. The idea is simple. When a touch button is touched a 433Mhz command is send to a wireless dimmer module. A single or double tap switches the module on or off, holding it will cycle it from dim-bright-dim until the button is released. For this I am using the CapTouch library posted in library section of this forum. I have create a class for this to enable me to quickly add more sensors. However when I initialise more than one class the code doesn't work anymore. And I can't figure out why. The
-
I'm relatively new to msp430 dev. I'm on Linux and intend to use mspgcc as my compiler. I see the demo code for the cap touch booster pack has a directory for CCS and IAR, but no makefile or anything for gcc. I found a generic msp430 makefile and added all the source files from the demo to it. I'm using the msp430g2152 and have updated all references accordingly. I'm still getting a bunch of errors like CapTouchBoosterPack_UserExperience.c|172| relocation truncated to fit: R_MSP430_16 against symbol `TimerA_UART_tx' defined in .text section in uart.o CapTouchBoosterPack_UserExperience.
-
I'm on osx with energia, and I just got my 430BOOST-SENSE1 cap touch board. 1) What does it take to start programming it with energia? (How does one add the libraries & examples from slac489 or slac490) 2) I got the demo working with the M430G2452 IC that came with the board, but eager to try energia I uploaded the blink example to the IC. While the middle LED blinks now, where/how can I get back the original demo to the chip when needed? 3) As a newbie hobbyist, should I be using something other then energia? Thanks in advance, I look forward to learning and experimenting!