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: MTS-Serial libmDot-mbed5
Fork of Dot-AT-Firmware by
CmdResetCpu.cpp
00001 #include "CmdResetCpu.h" 00002 00003 CmdResetCpu::CmdResetCpu() : Command("Reset CPU", "ATZ", "Reset the CPU", "NONE") 00004 { 00005 } 00006 00007 uint32_t CmdResetCpu::action(std::vector<std::string> args) 00008 { 00009 CommandTerminal::Serial()->writef("\r\nOK\r\n"); 00010 wait(0.5); 00011 CommandTerminal::Dot()->resetCpu(); 00012 return 0; 00013 } 00014
Generated on Tue Jul 12 2022 20:40:04 by
