Capacitive touch sensor (8 probes) by Microchip
"The CAP1298 is a turnkey capacitive touch controller providing a wide variety of button and proximity functionality, and making it easy for designers to add aesthetically pleasing, low-cost and robust touch interfaces. It also offers improved proximity detection with its Signal Guard option." (from Microchip website)
http://www.microchip.com/wwwproducts/en/CAP1298
Revision 1:8b152c72eded, committed 2017-01-31
- Comitter:
- fskorup
- Date:
- Tue Jan 31 15:59:36 2017 +0000
- Parent:
- 0:3480c5e1f395
- Commit message:
- updated descriptors
Changed in this revision
CAP12xx.cpp | Show annotated file Show diff for this revision Revisions of this file |
CAP12xx.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3480c5e1f395 -r 8b152c72eded CAP12xx.cpp --- a/CAP12xx.cpp Tue Jan 31 15:38:25 2017 +0000 +++ b/CAP12xx.cpp Tue Jan 31 15:59:36 2017 +0000 @@ -7,25 +7,7 @@ \:\__\ /:/ / \/__/ \/__/ \/__/ - Copyright (c) 2016 Flow design labs, Project LEAF - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. + 2016 Flow design labs, Project LEAF #define CAP12xx_MAIN 0x00 //Controls power states and indicates an interrupt #define CAP12xx_MINT 0x1 //Clears interrupts on touch
diff -r 3480c5e1f395 -r 8b152c72eded CAP12xx.h --- a/CAP12xx.h Tue Jan 31 15:38:25 2017 +0000 +++ b/CAP12xx.h Tue Jan 31 15:59:36 2017 +0000 @@ -7,25 +7,7 @@ \:\__\ /:/ / \/__/ \/__/ \/__/ - Copyright (c) 2016 Flow design labs, Project LEAF - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. + 2016 Flow design labs, Project LEAF ////////////////////////////////////////////////////// // CAP12xx_SEN - Sensitivity values - 1x minimum //