31 if(!pina_gpio_.
Read())
33 if(!pinb_gpio_.
Read())
General Purpose I/O control.
Definition gpio.h:22
bool Read()
Reads the state of the GPIO.
void Init()
Initialize the GPIO using the internal Config struct.
Definition leddriver.h:33
void Init(Pin pina, Pin pinb)
Definition switch3.h:23
int Read()
Definition switch3.h:29
Switch3()
Definition switch3.h:20
@ POS_CENTER
Definition switch3.h:12
@ POS_DOWN
Definition switch3.h:16
@ POS_UP
Definition switch3.h:14
@ POS_RIGHT
Definition switch3.h:15
@ POS_LEFT
Definition switch3.h:13
~Switch3()
Definition switch3.h:21
Hardware defines and helpers for daisy field platform.
Definition index.h:2
representation of hardware port/pin combination
Definition daisy_core.h:193