Project is to translate Sign Language to Text and Speech

Dependencies:   mbed HCSR04 FXOS8700Q

Files at this revision

API Documentation at this revision

Comitter:
prabhuvd
Date:
Sat Mar 30 17:32:04 2013 +0000
Parent:
0:fb0929f37ebe
Child:
2:0acb6ade091c
Commit message:
version 1.1 interrupt routines associate with echo pin

Changed in this revision

hcsr04.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/hcsr04.cpp	Sat Mar 30 17:27:39 2013 +0000
+++ b/hcsr04.cpp	Sat Mar 30 17:32:04 2013 +0000
@@ -26,8 +26,8 @@
 {
     pulsetime.stop();
     pulsetime.reset();
-   // this.rise(&DistMeasure::isr_rise);
-   // this.fall(&DistMeasure::isr_fall);    
+    echo.rise(this,&DistMeasure::isr_rise);
+    echo.fall(this,&DistMeasure::isr_fall);    
 }