Leong Kum Loong (NYP) / HCSR04

Dependents:   Utrasonic_Example

Revision:
1:27ee973552a9
Parent:
0:3373f4da46c1
Child:
2:c9ffa237213b
--- a/HCSR04.cpp	Sun Dec 03 18:55:59 2017 +0000
+++ b/HCSR04.cpp	Mon Dec 04 01:31:51 2017 +0000
@@ -41,7 +41,6 @@
 
 //Start monitoring distance.
 void getDistance(int unit){
-    //1 for CM & 2 for INCH
     switch(unit){
     case 1:
         divisor = 1;        //Default divisor to get CM.