Skip to content

LOGGING

Module: LIBDAISY / HUMAN_INTERFACE

Logging to external ports (Serial, JTAG, etc.) More...

Modules

Name
LoggerHelperMacros
LoggerStaticMembers
member variable definition (could switch to inline statics in C++17)

Classes

Name
class daisy::Logger
Interface for simple USB logging.
class daisy::Logger< LOGGER_NONE >

Detailed Description

Logging to external ports (Serial, JTAG, etc.)

Intefaces for Logging over USB, etc.

The following is a short example of using the DaisySeed::Logger to print to a serial port. ```cpp

include "daisy_seed.h"

using namespace daisy;

DaisySeed hw;

int main(void) { // Initialize the Daisy Seed hw.Init(); // Start the log, and wait for connection hw.StartLog(true); // Print "Hello World" to the Serial Monitor hw.PrintLine("Hello World!"); while(1) {} } ```

Filename: SerialPrint.cpp


Updated on 2024-01-03 at 19:41:01 +0000