IMU-pressure-tempreture sensors
Dependencies: CMSIS_DSP_401 DHT22 MPU9150_DMP QuaternionMath MODSERIAL mbed-src FATFileSystem111 SDFileSystem11 Camera_LS_Y201_CANSAT
main.h@1:339ebc8786ca, 2015-08-11 (annotated)
- Committer:
- Hagrass
- Date:
- Tue Aug 11 16:56:59 2015 +0000
- Revision:
- 1:339ebc8786ca
combined
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Hagrass | 1:339ebc8786ca | 1 | #pragma once |
Hagrass | 1:339ebc8786ca | 2 | #include "mbed.h" |
Hagrass | 1:339ebc8786ca | 3 | #include "MODSERIAL.h" |
Hagrass | 1:339ebc8786ca | 4 | |
Hagrass | 1:339ebc8786ca | 5 | MODSERIAL pc(USBTX,USBRX); |
Hagrass | 1:339ebc8786ca | 6 | |
Hagrass | 1:339ebc8786ca | 7 | #if defined(TARGET_LPC1768) |
Hagrass | 1:339ebc8786ca | 8 | MODSERIAL gps(p13, p14); |
Hagrass | 1:339ebc8786ca | 9 | #elif defined(TARGET_LPC4330_M4) |
Hagrass | 1:339ebc8786ca | 10 | MODSERIAL gps(UART0_TX, UART0_RX); |
Hagrass | 1:339ebc8786ca | 11 | #endif |
Hagrass | 1:339ebc8786ca | 12 | |
Hagrass | 1:339ebc8786ca | 13 | |
Hagrass | 1:339ebc8786ca | 14 | char cDataBuffer[500]; |
Hagrass | 1:339ebc8786ca | 15 | int i = 0; |
Hagrass | 1:339ebc8786ca | 16 | |
Hagrass | 1:339ebc8786ca | 17 | |
Hagrass | 1:339ebc8786ca | 18 | void Init(); |
Hagrass | 1:339ebc8786ca | 19 | void parse(char *cmd, int n); |