libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::Switch3 Class Reference

#include <switch3.h>

Public Types

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

Public Member Functions

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

Member Enumeration Documentation

◆ anonymous enum

Enumerator
POS_CENTER 
POS_LEFT 
POS_UP 
POS_RIGHT 
POS_DOWN 

Constructor & Destructor Documentation

◆ Switch3()

daisy::Switch3::Switch3 ( )
inline

◆ ~Switch3()

daisy::Switch3::~Switch3 ( )
inline

Member Function Documentation

◆ Init()

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

◆ Read()

int daisy::Switch3::Read ( )
inline

The documentation for this class was generated from the following file: