Skip to content

Class daisy::eurorack_devkit::Hardware

ClassList > daisy > eurorack_devkit > Hardware

Public Attributes

Type Name
AnalogControl cv
GateIn gate_in1
GateIn gate_in2
RgbLed led1
Led led2
MidiUartHandler midi
AnalogControl pot
DaisySeed seed
Switch sw1
Switch sw2
Switch3 sw3
Switch sw4

Public Functions

Type Name
Hardware ()
void Init ()
void PrintAllControls ()
void SetDacOut (DacHandle::Channel channel, uint16_t code)
void UpdateAllControls ()

Public Attributes Documentation

variable cv

AnalogControl daisy::eurorack_devkit::Hardware::cv[kNumCVs];

variable gate_in1

GateIn daisy::eurorack_devkit::Hardware::gate_in1;

variable gate_in2

GateIn daisy::eurorack_devkit::Hardware::gate_in2;

variable led1

RgbLed daisy::eurorack_devkit::Hardware::led1;

variable led2

Led daisy::eurorack_devkit::Hardware::led2;

variable midi

MidiUartHandler daisy::eurorack_devkit::Hardware::midi;

variable pot

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

variable seed

DaisySeed daisy::eurorack_devkit::Hardware::seed;

variable sw1

Switch daisy::eurorack_devkit::Hardware::sw1;

variable sw2

Switch daisy::eurorack_devkit::Hardware::sw2;

variable sw3

Switch3 daisy::eurorack_devkit::Hardware::sw3;

variable sw4

Switch daisy::eurorack_devkit::Hardware::sw4;

Public Functions Documentation

function Hardware

inline daisy::eurorack_devkit::Hardware::Hardware () 

function Init

void daisy::eurorack_devkit::Hardware::Init () 

Initialize the hardware


function PrintAllControls

void daisy::eurorack_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 SetDacOut

void daisy::eurorack_devkit::Hardware::SetDacOut (
    DacHandle::Channel channel,
    uint16_t code
) 

Write the code to the DAC output

Parameters:

  • channel DAC channel to write to
  • code the 0-4096 code to write corresponding to the output voltage

function UpdateAllControls

void daisy::eurorack_devkit::Hardware::UpdateAllControls () 

Process all analog inputs, debounce digital inputs, and update their internally stored states.



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