libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches

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

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.

#include "daisy_seed.h"
using namespace daisy;
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) {}
}
This is the higher-level interface for the Daisy board. All basic peripheral configuration/initiali...
Definition daisy_seed.h:19
Definition leddriver.h:33
void Init(I2CHandle i2c, const uint8_t(&addresses)[numDrivers], DmaBuffer dma_buffer_a, DmaBuffer dma_buffer_b, dsy_gpio_pin oe_pin={DSY_GPIOX, 0})
Definition leddriver.h:65
Hardware defines and helpers for daisy field platform.
Definition index.h:2

Modules

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

Classes

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