![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tuk tutoriail
Dependencies: mbed lib_workshop_2019
Diff: main.cpp
- Revision:
- 6:9e03c9ae243b
- Parent:
- 5:d99659a45cab
- Child:
- 8:c2d06715025f
--- a/main.cpp Thu Oct 24 03:54:20 2019 +0000 +++ b/main.cpp Thu Oct 24 04:14:47 2019 +0000 @@ -45,11 +45,11 @@ do { pc.printf("\r CNY_1"); - ft_print_cny_analog_voltage(CNY1, pc); + //ft_print_cny_analog_voltage(CNY1, pc); pc.printf("\t CNY_2"); - ft_print_cny_analog_voltage(CNY2, pc); + //ft_print_cny_analog_voltage(CNY2, pc); pc.printf("\t CNY_3"); - ft_print_cny_analog_voltage(CNY3, pc); + //ft_print_cny_analog_voltage(CNY3, pc); } while (!pc.readable()); pc.printf("\n"); user_choice = ft_get_user_choice(pc); @@ -65,12 +65,12 @@ break; case LEFT_MOTOR : - ft_test_motor(Pwm_ML, DIR_1L, DIR_2L, pc); + ft_print_to_be_imp(pc) //TODO : Replace this line user_choice = ft_get_user_choice(pc); break; case RIGHT_MOTOR: - ft_test_motor(Pwm_MR, DIR_1R, DIR_2R, pc); + ft_print_to_be_imp(pc) //TODO : Replace this line user_choice = ft_get_user_choice(pc); break;