Public Member Functions
CrystalfontzDevice Class Reference

Brief description of class still missing. More...

#include <CrystalfontzDevice.h>

Inheritance diagram for CrystalfontzDevice:
GpCoreTools::Serial GpCoreTools::Stream

List of all members.

Public Member Functions

void configureBoot (std::string version)
 CrystalfontzDevice (const std::string &path)
void firstPage ()
 ~CrystalfontzDevice ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

CrystalfontzDevice::CrystalfontzDevice ( const std::string &  path)

Description of constructor still missing

References TRACE.

  : Serial(path, B9600, 0)
{
  TRACE;
  _runningMode=true;
}

References GpCoreTools::Serial::write().

{
  if(_runningMode) {
    write("\x0C"
          "\x11\x05\x01Halting..."
          "\x11\x00\x03Safe to remove USB", 35);
  }
}

Member Function Documentation

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

}

References TRACE, and GpCoreTools::Serial::write().

Referenced by main().

{
  TRACE;
  // Init display: clean, no scroll, no wrap, hide cursor
  write("\x0C\x14\x18\x04"
        "\x11\x00\x01No network buddies"
        "\x11\x00\x03Init display...", 43);
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines