Generic Class for handling Quadrature Encoders Inspired/influenced by Mutable Instruments (pichenet...
Definition encoder.h:18
void Init(Pin a, Pin b, Pin click, float update_rate=0.f)
float TimeHeldMs() const
Definition encoder.h:45
bool Pressed() const
Definition encoder.h:42
Encoder()
Definition encoder.h:20
void SetUpdateRate(float update_rate)
Definition encoder.h:50
~Encoder()
Definition encoder.h:21
bool FallingEdge() const
Definition encoder.h:39
bool RisingEdge() const
Definition encoder.h:36
int32_t Increment() const
Definition encoder.h:33
General Purpose I/O control.
Definition gpio.h:22
Definition leddriver.h:33
float TimeHeldMs() const
Definition switch.h:84
bool RisingEdge() const
Definition switch.h:65
bool Pressed() const
Definition switch.h:74
bool FallingEdge() const
Definition switch.h:68
Hardware defines and helpers for daisy field platform.
Definition index.h:2
representation of hardware port/pin combination
Definition daisy_core.h:193