![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tuk tutoriail
Dependencies: mbed lib_workshop_2019
Diff: src/test_compass/test_compass.cpp
- Revision:
- 1:7a8764e627b5
diff -r 0a75a79d6b77 -r 7a8764e627b5 src/test_compass/test_compass.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/test_compass/test_compass.cpp Wed Oct 23 13:01:35 2019 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" +#include "CMPS03.h" + +#include "test_compass.h" + + +void ft_print_compass_values(CMPS03 &compass , Serial &pc) +{ + pc.printf("\r Bearing from library (PWM) : %lf", compass.getBearing()); +} \ No newline at end of file