TUK Workshop
Dependencies: mbed lib_workshop_2019
Diff: main.cpp
- Revision:
- 3:a0e37b8918ac
- Parent:
- 2:8153195b1672
- Child:
- 4:bf5caf4c0c88
diff -r 8153195b1672 -r a0e37b8918ac main.cpp --- a/main.cpp Wed Oct 23 13:56:30 2019 +0000 +++ b/main.cpp Wed Oct 23 14:01:59 2019 +0000 @@ -51,8 +51,35 @@ pc.printf("\n"); user_choice = ft_get_user_choice(pc); break; + + case VBAT : + do + { + ft_print_to_be_imp(pc); + } while (!pc.readable()); + pc.printf("\n"); + user_choice = ft_get_user_choice(pc); + break; + + case LEFT_MOTOR : + do + { + ft_print_to_be_imp(pc); + } while (!pc.readable()); + pc.printf("\n"); + user_choice = ft_get_user_choice(pc); + break; + + case RIGHT_MOTOR: + do + { + ft_print_to_be_imp(pc); + } while (!pc.readable()); + pc.printf("\n"); + user_choice = ft_get_user_choice(pc); + break; + - default : ft_print_test_menu(pc); user_choice = ft_get_user_choice(pc);