---------------------------------------------------------- doesn't work
| 606 | // ---------------------------------------------------------- |
| 607 | // doesn't work |
| 608 | void Arduino_ST7789::setBrightness(uint8_t br) |
| 609 | { |
| 610 | //writeCmd(ST7789_WRCACE); |
| 611 | //writeData(0xb1); // 80,90,b0, or 00,01,02,03 |
| 612 | //writeCmd(ST7789_WRCABCMB); |
| 613 | //writeData(120); |
| 614 | |
| 615 | //BCTRL=0x20, dd=0x08, bl=0x04 |
| 616 | int val = 0x04; |
| 617 | writeCmd(ST7789_WRCTRLD); |
| 618 | writeData(val); |
| 619 | writeCmd(ST7789_WRDISBV); |
| 620 | writeData(br); |
| 621 | } |
| 622 | |
| 623 | // ---------------------------------------------------------- |
| 624 | // 0 - off |
nothing calls this directly
no outgoing calls
no test coverage detected