IMU-pressure-tempreture sensors

Dependencies:   CMSIS_DSP_401 DHT22 MPU9150_DMP QuaternionMath MODSERIAL mbed-src FATFileSystem111 SDFileSystem11 Camera_LS_Y201_CANSAT

Dependents:   combined_F

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.h Source File

main.h

00001 #pragma once 
00002 #include "mbed.h"
00003 #include "MODSERIAL.h"
00004 
00005 MODSERIAL pc(USBTX,USBRX);
00006 
00007 #if   defined(TARGET_LPC1768)
00008 MODSERIAL gps(p13, p14);
00009 #elif defined(TARGET_LPC4330_M4)
00010 MODSERIAL gps(UART0_TX, UART0_RX);
00011 #endif
00012 
00013 
00014 char cDataBuffer[500];
00015 int i = 0;
00016 
00017 
00018 void Init();
00019 void parse(char *cmd, int n);