MAX7219 - Update intensity (#5477)

This commit is contained in:
Clyde Stubbs
2023-10-04 12:15:44 +11:00
committed by GitHub
parent 506c2ba6c7
commit 4e8cba49f1
2 changed files with 13 additions and 2 deletions
+2 -1
View File
@@ -52,7 +52,8 @@ class MAX7219Component : public PollingComponent,
void send_byte_(uint8_t a_register, uint8_t data);
void send_to_all_(uint8_t a_register, uint8_t data);
uint8_t intensity_{15}; /// Intensity of the display from 0 to 15 (most)
uint8_t intensity_{15}; // Intensity of the display from 0 to 15 (most)
bool intensity_changed_{}; // True if we need to re-send the intensity
uint8_t num_chips_{1};
uint8_t *buffer_;
bool reverse_{false};