Skip to content

Commit

Permalink
included smartdisplay_lcd_adaptive_brightness_cds in header file
Browse files Browse the repository at this point in the history
  • Loading branch information
rzeldent committed Apr 7, 2024
1 parent 55290a4 commit 72c95c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/esp32_smartdisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ extern "C"
// Set the adaptive brightness callback
typedef float (*smartdisplay_lcd_adaptive_brightness_cb_t)();
void smartdisplay_lcd_set_brightness_cb(smartdisplay_lcd_adaptive_brightness_cb_t cb, uint interval);
#ifdef BOARD_HAS_CDS
// Read CdS sensor and return a value for the screen brightness (to be used in smartdisplay_lcd_set_brightness_cb)
float smartdisplay_lcd_adaptive_brightness_cds();
#endif
#ifdef BOARD_HAS_RGB_LED
void smartdisplay_led_set_rgb(bool r, bool g, bool b);
#endif
Expand Down

0 comments on commit 72c95c1

Please sign in to comment.