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: IDevKit.h
- Revision:
- 11:dbc310addbf6
diff -r ba8917ba1945 -r dbc310addbf6 IDevKit.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/IDevKit.h Tue Mar 19 20:48:48 2019 +0000
@@ -0,0 +1,16 @@
+#pragma once
+
+class IDevKit {
+public:
+ // method called for toggling led 1
+ virtual void toggleLed1(void) = 0;
+
+ // method called for getting battery level
+ virtual uint8_t getBatteryLevel(void) = 0;
+
+ // for configuring the I2C bus
+ virtual PinName getSCL(void) = 0;
+ virtual PinName getSDA(void) = 0;
+ virtual PinName getDataRdy(void) = 0;
+};
+