![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tutorial for first mbed project
Dependencies: mbed lib_workshop_2019
src/test_cny/ft_print_value_cny.cpp@7:c7ff04228b11, 2019-10-24 (annotated)
- Committer:
- gvaquette
- Date:
- Thu Oct 24 05:49:30 2019 +0000
- Revision:
- 7:c7ff04228b11
- Parent:
- 2:8153195b1672
student run_motor
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gvaquette | 2:8153195b1672 | 1 | /** |
gvaquette | 2:8153195b1672 | 2 | * @author geoffrey Vaquette |
gvaquette | 2:8153195b1672 | 3 | * |
gvaquette | 2:8153195b1672 | 4 | * @section DESCRIPTION |
gvaquette | 2:8153195b1672 | 5 | * |
gvaquette | 2:8153195b1672 | 6 | * Testing value from ultrasonic sensors on robot |
gvaquette | 2:8153195b1672 | 7 | * |
gvaquette | 2:8153195b1672 | 8 | */ |
gvaquette | 2:8153195b1672 | 9 | |
gvaquette | 2:8153195b1672 | 10 | #include "mbed.h" |
gvaquette | 2:8153195b1672 | 11 | #include "CNY70.h" |
gvaquette | 2:8153195b1672 | 12 | |
gvaquette | 2:8153195b1672 | 13 | |
gvaquette | 2:8153195b1672 | 14 | void ft_print_cny_analog_voltage(AnalogIn &analog_input, Serial &pc) |
gvaquette | 2:8153195b1672 | 15 | { |
gvaquette | 7:c7ff04228b11 | 16 | const double max_voltage = 3.3; |
gvaquette | 2:8153195b1672 | 17 | /* TO BE IMPLEMENTED */ |
gvaquette | 7:c7ff04228b11 | 18 | |
gvaquette | 2:8153195b1672 | 19 | return; |
gvaquette | 2:8153195b1672 | 20 | } |
gvaquette | 2:8153195b1672 | 21 | |
gvaquette | 2:8153195b1672 | 22 | |
gvaquette | 2:8153195b1672 | 23 | void ft_print_cny_library_voltage(CNY70 &cny_sensor, Serial &pc) |
gvaquette | 2:8153195b1672 | 24 | { |
gvaquette | 2:8153195b1672 | 25 | return; |
gvaquette | 2:8153195b1672 | 26 | } |