Brief description of class still missing. More...
#include <CrystalfontzDevice.h>
Public Member Functions | |
| void | configureBoot (std::string version) |
| CrystalfontzDevice (const std::string &path) | |
| void | firstPage () |
| ~CrystalfontzDevice () | |
Brief description of class still missing.
Full description of class still missing
| CrystalfontzDevice::CrystalfontzDevice | ( | const std::string & | path | ) |
References GpCoreTools::Serial::write().
{
if(_runningMode) {
write("\x0C"
"\x11\x05\x01Halting..."
"\x11\x00\x03Safe to remove USB", 35);
}
}
| void CrystalfontzDevice::configureBoot | ( | std::string | version | ) |
References TRACE, and GpCoreTools::Serial::write().
Referenced by main().
{
TRACE;
_runningMode=false;
write("\x0C\x14\x18\x04" // clean, no scroll, no wrap, hide cursor
"\x11\x03\x00"
"Wireless ARray"
"\x11\x06\x01"
"ANalysis"
"\x11\x03\x02"
"version ", 43);
write(version.data(), 6);
write("\x11\x00\x03"
"Booting...", 13);
write("\x09\x05", 2); // save to EEPROM
write("\x09\x04", 2); // set user boot
}
| void CrystalfontzDevice::firstPage | ( | ) |
References TRACE, and GpCoreTools::Serial::write().
Referenced by main().