Mini Project 10: Displaying stuff from day 7
Dependencies: DmTouch_UniGraphic UniGraphic mbed
compass_sensor.h@0:1ebe73e062a7, 2017-01-17 (annotated)
- Committer:
- swescott17
- Date:
- Tue Jan 17 18:14:15 2017 +0000
- Revision:
- 0:1ebe73e062a7
- Child:
- 11:482a9abbc448
Added files and libraries from other mini projects;
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 | 0:1ebe73e062a7 | 8 | int compass_config(void); |
swescott17 | 0:1ebe73e062a7 | 9 | double calculation(void); |
swescott17 | 0:1ebe73e062a7 | 10 | void compass_n(int); |
swescott17 | 0:1ebe73e062a7 | 11 | |
swescott17 | 0:1ebe73e062a7 | 12 | #endif |