Skip to content

Commit

Permalink
sdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Syndlex committed Jan 14, 2022
1 parent ed45068 commit 209cd7d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions components/dmamatrix/dmamatrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@ void HOT DmaMatrixDisplay::display() {}

void dmamatrixDisplay::set_pin_latch(InternalGPIOPin *pin_latch) { this->pin_latch_ = pin_latch; }

void dmamatrixDisplay::set_pin_r1(InternalGPIOPin *pin_r1) { this->pin_r1_ = pin_r1; }

void dmamatrixDisplay::set_pin_r2(InternalGPIOPin *pin_r2) { this->pin_r2_ = pin_r2; }

void dmamatrixDisplay::set_pin_g1(InternalGPIOPin *pin_g1) { this->pin_g1_ = pin_g1; }

void dmamatrixDisplay::set_pin_g2(InternalGPIOPin *pin_g2) { this->pin_g2_ = pin_g2; }

void dmamatrixDisplay::set_pin_b1(InternalGPIOPin *pin_b1) { this->pin_b1_ = pin_b1; }

void dmamatrixDisplay::set_pin_b2(InternalGPIOPin *pin_b2) { this->pin_b2_ = pin_b2; }

void dmamatrixDisplay::set_pin_clk(InternalGPIOPin *pin_clk) { this->pin_clk_ = pin_clk; }

void dmamatrixDisplay::set_pin_a(InternalGPIOPin *pin_a) { this->pin_a_ = pin_a; }

void dmamatrixDisplay::set_pin_b(InternalGPIOPin *pin_b) { this->pin_b_ = pin_b; }
Expand All @@ -75,8 +89,6 @@ void dmamatrixDisplay::set_height(uint8_t height) { this->height_ = height; }

void dmamatrixDisplay::set_brightness(uint8_t brightness) { this->brightness_ = brightness; }

void dmamatrixDisplay::set_driver_chips(DriverChips driver_chips) { this->driver_chips_ = driver_chips; }

int DmaMatrixDisplay::get_width_internal() { return this->width_; }

int DmaMatrixDisplay::get_height_internal() { return this->height_; }
Expand Down

0 comments on commit 209cd7d

Please sign in to comment.