lib_Mbed_LPS

Revision:
0:a217c0617441
Child:
1:4d90513f226d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib_Mbed_LPS.h	Fri Oct 23 08:07:07 2015 +0000
@@ -0,0 +1,55 @@
+/** Lib Mbed LPS
+*
+* Copyright (c) 2014, cstyles (http://mbed.org)
+*
+* Exemple:
+* @code
+* #include "mbed.h"
+* #include "lib_Mbed_LPS.h"
+* 
+* 
+* Serial pc(USBTX,USBRX);
+* 
+* void interruption_serie(void);
+* 
+* 
+* int main()
+* {
+*     if(checkIDs()) return 0;
+*     pc.attach(&interruption_serie);
+*     
+*     while(1)
+*     {
+*         wait(0.25);
+*     }
+* }
+* 
+* void interruption_serie(void)
+* {
+*     char caractere = pc.getc();
+*     switch(caractere) 
+*     {
+*         case '?':
+*             pc.printf("%s\r\n",getLastMbedFileName());
+*         break;
+*     }
+* }
+* @endcode
+* @file          lib_Mbed_LPS.h 
+* @purpose       library for Mbed LPS
+* @date          2015
+* @author        Yannic Simon
+*/
+
+#ifndef DEF_lib_Mbed_LPS_H
+#define DEF_lib_Mbed_LPS_H
+
+#include "mbed.h"
+
+void getMbedID(char *ID);
+
+bool checkIDs(void);
+
+char * getLastMbedFileName(void);
+
+#endif
\ No newline at end of file