Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: main.cpp
- 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);