New work version with additional functions
Dependencies: 4DGL-UC ConfigFile MODSERIAL mbed mbos
Fork of CDU_Mbed_35 by
Diff: CDU_hw_sw.cpp
- Revision:
- 20:2d6ac4577e68
- Parent:
- 19:9d8032cb0f12
--- a/CDU_hw_sw.cpp Thu Aug 28 14:39:32 2014 +0000 +++ b/CDU_hw_sw.cpp Wed Oct 08 14:14:52 2014 +0000 @@ -3,6 +3,7 @@ #include "pins.h" extern "C" void mbed_mac_address(char *mac); //for reading MAC Address +extern "C" void mbed_reset(); //reboot CDU string CDU_Hardware() { @@ -63,4 +64,9 @@ string cIP = "IP address: "; cIP += "000:000:000:000 (not defined)"; return cIP; +} + +void CDU_BOOT() +{ + mbed_reset(); } \ No newline at end of file