Skip to content

File SerialRead.cpp

FileList > examples > SerialRead > SerialRead.cpp

Go to the source code of this file

  • #include "daisy_seed.h"

Public Attributes

Type Name
DaisySeed hw
FIFO< FixedCapStr< 128 >, 16 > msg_fifo

Public Functions

Type Name
void UsbCallback (uint8_t * buff, uint32_t * length)
int main (void)

Public Attributes Documentation

variable hw

DaisySeed hw;

variable msg_fifo

FIFO<FixedCapStr<128>, 16> msg_fifo;

Create a FIFO for receiving messages to echo out.


Public Functions Documentation

function UsbCallback

void UsbCallback (
    uint8_t * buff,
    uint32_t * length
) 

Callback that fires whenever new data is sent from the serial port


function main

int main (
    void
) 


The documentation for this class was generated from the following file external-docs/libDaisy/examples/SerialRead/SerialRead.cpp