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.
Diff: Android.h
- Revision:
- 0:9b41a36d03d9
- Child:
- 1:6d9353593c3c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Android.h Sun Jan 07 11:59:16 2018 +0000
@@ -0,0 +1,21 @@
+
+#ifndef ANDROID_H
+#define ANDROID_H
+
+/**
+ * Includes
+ */
+#include "mbed.h"
+
+class Android {
+ public:
+
+ Android (PinName txPin, PinName rxPin);
+ private:
+ Serial serial;
+ void onData(void);
+ void hearthBeat(void);
+ Ticker ticker;
+ DigitalOut myled;
+};
+#endif /* ANDROID_H */