![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Teacher version
Dependencies: mbed lib_workshop_2019
src/console_output.cpp
- Committer:
- gvaquette
- Date:
- 2019-10-23
- Revision:
- 0:0a75a79d6b77
- Child:
- 1:7a8764e627b5
File content as of revision 0:0a75a79d6b77:
#include "mbed.h" #include "console_output.h" void ft_print_test_menu(Serial &Pc) { Pc.printf ("\n\n\n\n\rTesting program \n\n\r Which test do you want to perform ?\n\n"); Pc.printf ("\r%d- Ultrasonic sensors (all of them)\n", ULTRASONIC); Pc.printf ("\r%d- Compass and I2C\n", COMPASS); Pc.printf ("\r%d- CNY70 (all of them) \n",CNY70); Pc.printf ("\r%d- VBAT \t! Wrong voltage !\n",VBAT); Pc.printf ("\r%d- Left motor\n", LEFT_MOTOR); Pc.printf ("\r%d- MRight motor \n", RIGHT_MOTOR); Pc.printf ("\r%d- PIXY (CMUCAM5)\n", PIXY); }