fra221-pb11 / Mbed 2 deprecated hw02

Dependencies:   mbed

Revision:
3:3395362f87b8
Parent:
2:77448d13dd0d
Child:
4:964ee3cf1a43
diff -r 77448d13dd0d -r 3395362f87b8 main.cpp
--- a/main.cpp	Fri Oct 19 04:20:20 2018 +0000
+++ b/main.cpp	Fri Oct 19 04:22:41 2018 +0000
@@ -42,7 +42,7 @@
     while(1) {
 
         adc1 = analog_value.read(); // Read the analog input value (value from 0.0 to 1.0 = full ADC conversion range)
-        volt1 = map(adc1,0,1.0,0,33); // Converts value in the 0V-3.3V range
+        volt1 = map(adc1,0,1.0,0,33); // Converts value in the 0V-33V range
         volum = map(adc1,0,1.0,0,8);
         if(mode) {
             display_vu(volum);