Driver instance struct.
This struct contains identifiers for the LED and button pins. It should be created with the macro OLED1_CREATE_INSTANCE(), and the hardware be initialized with the function oled1_init().
#include <oled1.h>
Data Fields | |
uint8_t | button0_pin |
Pin identifier for first button. More... | |
uint8_t | button1_pin |
Pin identifier for second button. More... | |
uint8_t | button2_pin |
Pin identifier for third button. More... | |
uint8_t | led0_pin |
Pin identifier for first LED. More... | |
uint8_t | led1_pin |
Pin identifier for second LED. More... | |
uint8_t | led2_pin |
Pin identifier for third LED. More... | |
uint8_t oled1_instance::button0_pin |
Pin identifier for first button.
Referenced by _oled1_get_button_pin(), and oled1_init().
uint8_t oled1_instance::button1_pin |
Pin identifier for second button.
Referenced by _oled1_get_button_pin(), and oled1_init().
uint8_t oled1_instance::button2_pin |
Pin identifier for third button.
Referenced by _oled1_get_button_pin(), and oled1_init().
uint8_t oled1_instance::led0_pin |
Pin identifier for first LED.
Referenced by _oled1_get_led_pin(), and oled1_init().
uint8_t oled1_instance::led1_pin |
Pin identifier for second LED.
Referenced by _oled1_get_led_pin(), and oled1_init().
uint8_t oled1_instance::led2_pin |
Pin identifier for third LED.
Referenced by _oled1_get_led_pin(), and oled1_init().