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
Hardware.h
00001 #ifndef HARDWARE_H_ 00002 #define HARDWARE_H_ 00003 00004 #include "General.h" 00005 #include "mbed.h" 00006 #include <events/mbed_events.h> 00007 #include "Cli.h" 00008 #include "BleSerial.h" 00009 #include "ble/BLE.h" 00010 #include "ble/Gap.h" 00011 #include "ble/services/BatteryService.h" 00012 #include "ble/services/DFUService.h" 00013 #include "UARTService.h" 00014 #include "ConfigFile.h" 00015 #include "MbedJSONValue.h" 00016 #include <string> 00017 00018 //namespace BLETEST 00019 //{ 00020 class Hardware 00021 { 00022 public: 00023 00024 Serial *pc; 00025 Cli *myCli; 00026 Cli *bleCli; 00027 BleSerial *bleSerial; 00028 00029 //DigitalOut *led1; 00030 PwmOut *led; 00031 00032 Hardware(); 00033 00034 InitResult init(); 00035 InitResult initCli(); 00036 00037 static CbResult cb_print(void* pObject, va_list args); 00038 00039 private: 00040 00041 00042 }; 00043 //} /* namespace BLETEST */ 00044 00045 #endif /* MICROZOO_H_ */ 00046
Generated on Wed Jul 13 2022 10:41:35 by
1.7.2