Added OLED fade out support (#12086)
This commit is contained in:
parent
992b146bc4
commit
fca7cc1747
3 changed files with 29 additions and 2 deletions
|
@ -154,6 +154,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(OLED_FADE_OUT_INTERVAL)
|
||||
# define OLED_FADE_OUT_INTERVAL 0x00
|
||||
#endif
|
||||
|
||||
#if OLED_FADE_OUT_INTERVAL > 0x0F || OLED_FADE_OUT_INTERVAL < 0x00
|
||||
# error OLED_FADE_OUT_INTERVAL must be between 0x00 and 0x0F
|
||||
#endif
|
||||
|
||||
#if !defined(OLED_I2C_TIMEOUT)
|
||||
# define OLED_I2C_TIMEOUT 100
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue