![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Mini Project 10: Displaying stuff from day 7
Dependencies: DmTouch_UniGraphic UniGraphic mbed
compass_sensor.h@11:482a9abbc448, 2017-01-17 (annotated)
- Committer:
- swescott17
- Date:
- Tue Jan 17 20:34:32 2017 +0000
- Revision:
- 11:482a9abbc448
- Parent:
- 0:1ebe73e062a7
- Child:
- 12:bd1d030d5c30
Compass and temperature given to the buttons
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
swescott17 | 0:1ebe73e062a7 | 1 | #ifndef COMPASS_H |
swescott17 | 0:1ebe73e062a7 | 2 | #define COMPASS_H |
swescott17 | 0:1ebe73e062a7 | 3 | |
swescott17 | 0:1ebe73e062a7 | 4 | #include "mbed.h" |
swescott17 | 0:1ebe73e062a7 | 5 | extern I2C i2c_port; |
swescott17 | 0:1ebe73e062a7 | 6 | extern Serial pc; |
swescott17 | 0:1ebe73e062a7 | 7 | |
swescott17 | 11:482a9abbc448 | 8 | void compass_config(void); |
swescott17 | 0:1ebe73e062a7 | 9 | double calculation(void); |
swescott17 | 11:482a9abbc448 | 10 | void compass_n(void); |
swescott17 | 0:1ebe73e062a7 | 11 | |
swescott17 | 0:1ebe73e062a7 | 12 | #endif |