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: BleSerial Cli ConfigFile MbedJSONValue
Diff: source/Hardware.h
- Revision:
- 0:1d8829c32cd5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/source/Hardware.h Wed Jan 03 15:07:35 2018 +0000
@@ -0,0 +1,46 @@
+#ifndef HARDWARE_H_
+#define HARDWARE_H_
+
+#include "General.h"
+#include "mbed.h"
+#include <events/mbed_events.h>
+#include "Cli.h"
+#include "BleSerial.h"
+#include "ble/BLE.h"
+#include "ble/Gap.h"
+#include "ble/services/BatteryService.h"
+#include "ble/services/DFUService.h"
+#include "UARTService.h"
+#include "ConfigFile.h"
+#include "MbedJSONValue.h"
+#include <string>
+
+//namespace BLETEST
+//{
+ class Hardware
+ {
+ public:
+
+ Serial *pc;
+ Cli *myCli;
+ Cli *bleCli;
+ BleSerial *bleSerial;
+
+ //DigitalOut *led1;
+ PwmOut *led;
+
+ Hardware();
+
+ InitResult init();
+ InitResult initCli();
+
+ static CbResult cb_print(void* pObject, va_list args);
+
+ private:
+
+
+ };
+//} /* namespace BLETEST */
+
+#endif /* MICROZOO_H_ */
+
\ No newline at end of file