Skip to content

Class daisy::pedal_devkit::Hardware

ClassList > daisy > pedal_devkit > Hardware

More...

  • #include <pedal_devkit.h>

Public Attributes

Type Name
AnalogControl expression
Switch fsw_1
Switch fsw_2
Led led1
RgbLed led2
daisy::MidiUartHandler midi
AnalogControl pot
Switch sd_detect
DaisySeed seed
Switch3 sw1
Switch sw2
Switch sw3
Switch sw4
Switch sw5

Public Functions

Type Name
Hardware ()
void Init ()
void PrintAllControls ()
void UpdateAllControls ()

Detailed Description

Board support for the Pedal DevKit

Provides access to all HW on the DevKit with convenience methods for common behaviors like initialization, and updating values.

Public Attributes Documentation

variable expression

AnalogControl daisy::pedal_devkit::Hardware::expression;

variable fsw_1

Switch daisy::pedal_devkit::Hardware::fsw_1;

variable fsw_2

Switch daisy::pedal_devkit::Hardware::fsw_2;

variable led1

Led daisy::pedal_devkit::Hardware::led1;

variable led2

RgbLed daisy::pedal_devkit::Hardware::led2;

variable midi

daisy::MidiUartHandler daisy::pedal_devkit::Hardware::midi;

variable pot

AnalogControl daisy::pedal_devkit::Hardware::pot[kNumPots];

Pot inputs. Labeled VR1 through VR6 on the PCB.


variable sd_detect

Switch daisy::pedal_devkit::Hardware::sd_detect;

variable seed

DaisySeed daisy::pedal_devkit::Hardware::seed;

variable sw1

Switch3 daisy::pedal_devkit::Hardware::sw1;

variable sw2

Switch daisy::pedal_devkit::Hardware::sw2;

variable sw3

Switch daisy::pedal_devkit::Hardware::sw3;

variable sw4

Switch daisy::pedal_devkit::Hardware::sw4;

variable sw5

Switch daisy::pedal_devkit::Hardware::sw5;

Public Functions Documentation

function Hardware

inline daisy::pedal_devkit::Hardware::Hardware () 

function Init

void daisy::pedal_devkit::Hardware::Init () 

Initialize all of the hardware, and start the ADC


function PrintAllControls

void daisy::pedal_devkit::Hardware::PrintAllControls () 

Print the state of all hardware inputs in a human readable block over serial using the Seed's built-in USB port.

Start the Seed's logger with seed.StartLog() prior to using this method.


function UpdateAllControls

void daisy::pedal_devkit::Hardware::UpdateAllControls () 

Process all analog inputs, debounce switch inputs, and update internally stored states



The documentation for this class was generated from the following file external-docs/libDaisy/src/pedal_devkit.h