![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Teacher version
Dependencies: mbed lib_workshop_2019
src/console_output.cpp@0:0a75a79d6b77, 2019-10-23 (annotated)
- Committer:
- gvaquette
- Date:
- Wed Oct 23 12:16:18 2019 +0000
- Revision:
- 0:0a75a79d6b77
- Child:
- 1:7a8764e627b5
console_ouput
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gvaquette | 0:0a75a79d6b77 | 1 | #include "mbed.h" |
gvaquette | 0:0a75a79d6b77 | 2 | #include "console_output.h" |
gvaquette | 0:0a75a79d6b77 | 3 | |
gvaquette | 0:0a75a79d6b77 | 4 | void ft_print_test_menu(Serial &Pc) |
gvaquette | 0:0a75a79d6b77 | 5 | { |
gvaquette | 0:0a75a79d6b77 | 6 | Pc.printf ("\n\n\n\n\rTesting program \n\n\r Which test do you want to perform ?\n\n"); |
gvaquette | 0:0a75a79d6b77 | 7 | Pc.printf ("\r%d- Ultrasonic sensors (all of them)\n", ULTRASONIC); |
gvaquette | 0:0a75a79d6b77 | 8 | Pc.printf ("\r%d- Compass and I2C\n", COMPASS); |
gvaquette | 0:0a75a79d6b77 | 9 | Pc.printf ("\r%d- CNY70 (all of them) \n",CNY70); |
gvaquette | 0:0a75a79d6b77 | 10 | Pc.printf ("\r%d- VBAT \t! Wrong voltage !\n",VBAT); |
gvaquette | 0:0a75a79d6b77 | 11 | Pc.printf ("\r%d- Left motor\n", LEFT_MOTOR); |
gvaquette | 0:0a75a79d6b77 | 12 | Pc.printf ("\r%d- MRight motor \n", RIGHT_MOTOR); |
gvaquette | 0:0a75a79d6b77 | 13 | Pc.printf ("\r%d- PIXY (CMUCAM5)\n", PIXY); |
gvaquette | 0:0a75a79d6b77 | 14 | } |