Skip to content

Class PotListener

ClassList > PotListener

More...

  • #include <ui_glue.h>

Public Functions

Type Name
float GetPotValue (uint16_t potId)
void Init (daisy::desktop_devkit::Hardware * hw)

Detailed Description

Interface class used for generating UI events from Pot inputs.

Public Functions Documentation

function GetPotValue

inline float PotListener::GetPotValue (
    uint16_t potId
) 

Read the value from the hardware TODO: update to wrapper if add pot min/max calibration


function Init

inline void PotListener::Init (
    daisy::desktop_devkit::Hardware * hw
) 

Initialize the Object



The documentation for this class was generated from the following file external-docs/libDaisy/examples/devkits/Desktop-DevKit-UI-Template/src/ui_glue.h