Skip to content
 
 

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages