60 pin_reset_.
Write(
false);
62 pin_reset_.
Write(
true);
87template <
size_t w
idth,
size_t height,
typename Transport>
156 size_t Width()
const {
return width; };
164 if((x >= width) || (y >=
height))
General Purpose I/O control.
Definition gpio.h:22
void Write(bool state)
Changes the state of the GPIO hardware when configured as an OUTPUT.
void Init()
Initialize the GPIO using the internal Config struct.
Definition leddriver.h:33
void Init(I2CHandle i2c, const uint8_t(&addresses)[numDrivers], DmaBuffer dma_buffer_a, DmaBuffer dma_buffer_b, Pin oe_pin=Pin(PORTX, 0))
Definition leddriver.h:65
Definition oled_ssd1327.h:13
void Init(const Config &config)
Definition oled_ssd1327.h:50
void SendCommand(uint8_t cmd)
Definition oled_ssd1327.h:65
void SendData(uint8_t *buff, size_t size)
Definition oled_ssd1327.h:71
Definition oled_ssd1327.h:89
size_t Width() const
Definition oled_ssd1327.h:156
void Fill(bool on)
Definition oled_ssd1327.h:197
uint8_t color_
Definition oled_ssd1327.h:227
uint8_t buffer_[width/2 *height]
Definition oled_ssd1327.h:226
void Set_Color(uint8_t in_col)
Definition oled_ssd1327.h:222
void Update()
Definition oled_ssd1327.h:208
Transport transport_
Definition oled_ssd1327.h:225
size_t Height() const
Definition oled_ssd1327.h:157
void Init(Config config)
Definition oled_ssd1327.h:96
void DrawPixel(uint_fast8_t x, uint_fast8_t y, bool on)
Definition oled_ssd1327.h:159
Result BlockingTransmit(uint8_t *buff, size_t size, uint32_t timeout=100)
Result Init(const Config &config)
static void Delay(uint32_t delay_ms)
Hardware defines and helpers for daisy field platform.
Definition index.h:2
@ PORTX
Definition daisy_core.h:188
@ PORTB
Definition daisy_core.h:178
@ PORTG
Definition daisy_core.h:183
representation of hardware port/pin combination
Definition daisy_core.h:193
Definition oled_ssd1327.h:16
SpiHandle::Config spi_config
Definition oled_ssd1327.h:22
Pin reset
Definition oled_ssd1327.h:26
struct daisy::SSD13274WireSpiTransport::Config::@11 pin_config
void Defaults()
Definition oled_ssd1327.h:28
Pin dc
Definition oled_ssd1327.h:25
Config()
Definition oled_ssd1327.h:17
Definition oled_ssd1327.h:92
Transport::Config transport_config
Definition oled_ssd1327.h:93
ClockPolarity clock_polarity
Definition spi.h:104
Peripheral periph
Definition spi.h:100
Pin nss
Definition spi.h:88
struct daisy::SpiHandle::Config::@18 pin_config
Mode mode
Definition spi.h:101
ClockPhase clock_phase
Definition spi.h:105
BaudPrescaler baud_prescaler
Definition spi.h:107
Direction direction
Definition spi.h:102
unsigned long datasize
Definition spi.h:103