![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TUK Workshop
Dependencies: mbed lib_workshop_2019
Diff: src/test_cny/ft_print_value_cny.cpp
- Revision:
- 9:f1dc5709a98d
- Parent:
- 7:c7ff04228b11
--- a/src/test_cny/ft_print_value_cny.cpp Thu Oct 24 06:06:55 2019 +0000 +++ b/src/test_cny/ft_print_value_cny.cpp Thu Oct 24 13:23:03 2019 +0000 @@ -15,7 +15,10 @@ { const double max_voltage = 3.3; /* TO BE IMPLEMENTED */ - + double value = analog_input.read(); + double voltage = value * 12; + pc.printf("Voltage value : %lf", voltage); + return; }