Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: Get_IMD/Get_IMD.h
- Revision:
- 8:ecf68db484af
- Parent:
- 0:e516fcccccda
--- a/Get_IMD/Get_IMD.h Fri Oct 10 20:59:36 2014 +0000
+++ b/Get_IMD/Get_IMD.h Fri Oct 10 21:46:52 2014 +0000
@@ -1,26 +1,13 @@
#include "mbed.h"
#include "string.h"
-/*
-#include "Get_IMD.h"
+
DigitalOut myled(LED1);
-int main()
-{
- IMD_Measurement_Output IMD_Result;
- while(1)
- {
- IMD_Result=Get_Measurement();
- pc.printf("Frequency:%f\n\r",IMD_Result.Frequency);
- pc.printf("Duty Cycle:%f\n\r",IMD_Result.Duty_Cycle);
- pc.printf("State:%s\n\n\r",IMD_Result.State);
- }
-}
-*/
-
//Serial pc(USBTX,USBRX);
#ifndef GET_IMD_H
- #define GET_IMD_H
+#define GET_IMD_H
+
typedef struct
{
float Frequency;
