Axeda Ready Demo for Freescale FRDM-KL46Z as accident alert system

Dependencies:   FRDM_MMA8451Q KL46Z-USBHost MAG3110 SocketModem TSI mbed FATFileSystem

Fork of AxedaGo-Freescal_FRDM-KL46Z by Axeda Corp

Committer:
AxedaCorp
Date:
Tue Jul 01 21:31:54 2014 +0000
Revision:
0:65004368569c
Made initial

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AxedaCorp 0:65004368569c 1 #include "axToolkit.h"
AxedaCorp 0:65004368569c 2 #include "axTransport.h"
AxedaCorp 0:65004368569c 3
AxedaCorp 0:65004368569c 4 int debugEnabled=AX_TRUE;
AxedaCorp 0:65004368569c 5
AxedaCorp 0:65004368569c 6 void printDebug(char *msg) {
AxedaCorp 0:65004368569c 7 if(debugEnabled==AX_TRUE){
AxedaCorp 0:65004368569c 8 ax_print(AX_DEBUG_MSG, msg);
AxedaCorp 0:65004368569c 9 }
AxedaCorp 0:65004368569c 10 }
AxedaCorp 0:65004368569c 11
AxedaCorp 0:65004368569c 12 void printError(char *msg) {
AxedaCorp 0:65004368569c 13 ax_print(AX_ERROR_MSG, msg);
AxedaCorp 0:65004368569c 14 }
AxedaCorp 0:65004368569c 15
AxedaCorp 0:65004368569c 16 int ax_debugEnabled() {
AxedaCorp 0:65004368569c 17 if(debugEnabled==1) { return AX_TRUE; }
AxedaCorp 0:65004368569c 18 else {return AX_FALSE; }
AxedaCorp 0:65004368569c 19 }
AxedaCorp 0:65004368569c 20
AxedaCorp 0:65004368569c 21
AxedaCorp 0:65004368569c 22