Skip to content

Class daisy::Switch3

ClassList > daisy > Switch3

Public Types

Type Name
enum Switch3

Public Functions

Type Name
void Init (Pin pina, Pin pinb)
int Read ()
Switch3 ()
~Switch3 ()

Public Types Documentation

enum @

This enum is anonymous

enum {
    POS_CENTER** = 0,
    POS_LEFT** = 1,
    POS_UP** = 1,
    POS_RIGHT** = 2,
    POS_DOWN** = 2,
};

Public Functions Documentation

function Init

inline void daisy::Switch3::Init (
    Pin pina,
    Pin pinb
) 

function Read

inline int daisy::Switch3::Read () 

function Switch3

inline daisy::Switch3::Switch3 () 

function ~Switch3

inline daisy::Switch3::~Switch3 () 


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