AT42QT1010 Capacitive Touch Sensor

Not really sure how to use this SparkFun AT42QT1010 Capacitive Touch Sensor with the imp. Hoping someone could provide me with a brief tutorial. Just trying to learn for a home project.

Thanks

I’ve not tried this, but it looks like fairly straightforward. Set up a digital input pin on the imp and read this device’s OUT pin. If it’s high, the sensor is being pressed.

Better still, use pin.configure(DIGITAL_IN, function) to register a callback, and the imp will run the registered code when the state of the pin changes, ie. when someone touches or releases the touch sensor.