There was a small bug in the spelling of your library's method. I hope you accept this request. Sorry for the inconveniences and thanks for your library -- I'm just starting to use this platform. Greetings.

Dependencies:   TSI

Fork of TouchButton by Viraj Jayaweera

Files at this revision

API Documentation at this revision

Comitter:
taghoter
Date:
Mon Mar 23 20:53:19 2015 +0000
Parent:
0:2afd6e977c5b
Commit message:
PresedButton -> PressedButton

Changed in this revision

TouchButton.cpp Show annotated file Show diff for this revision Revisions of this file
TouchButton.h Show annotated file Show diff for this revision Revisions of this file
--- a/TouchButton.cpp	Sat Jul 13 14:14:40 2013 +0000
+++ b/TouchButton.cpp	Mon Mar 23 20:53:19 2015 +0000
@@ -4,7 +4,7 @@
 
 TSISensor tsi;
 
-int TouchButton::PresedButton(void)
+int TouchButton::PressedButton(void)
 {
  
     if(tsi.readPercentage()<0.01)
--- a/TouchButton.h	Sat Jul 13 14:14:40 2013 +0000
+++ b/TouchButton.h	Mon Mar 23 20:53:19 2015 +0000
@@ -26,7 +26,7 @@
      * Read the pressed button number
      *
      */ 
-   int PresedButton(void);
+   int PressedButton(void);
 
   
 };