Skip to content

Read and debounce Adafruit FreeTouch (Atmel QTouch) inputs like RBD_Button class

Notifications You must be signed in to change notification settings

tuna-f1sh/RBD_QTouchButton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork of RBD_Button that takes an Adafruit_FreeTouch object rather than a pin. Uses a diff value on the count value recieved from measurement to set the pressed/released state; a positive change indicates a touch, negative indicates release.

Hopefully RBD does not mind using the namespace here 🙂 - I thought I would keep it as it maintains the same interface as the RBD_Button (other than constructor).

Requirements

Usage

See 'examples/touch_test' for constructor, which takes a pointer to a Adafruit_FreeTouch object. NOTE the FreeTouch object must call begin() somewhere.

Otherwise see the RBD Button Documentation as the interface matches that.

About

Read and debounce Adafruit FreeTouch (Atmel QTouch) inputs like RBD_Button class

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%