Added fade.

This commit is contained in:
2022-01-08 23:05:15 -08:00
parent c426d0e929
commit d9281cffe2
10 changed files with 172 additions and 20 deletions

View File

@@ -9,4 +9,17 @@
#include "libs.h"
#define TIME_PER_SECOND 60
extern uint16_t TIME_CURRENT;
#define TIME_FUTURE_TYPE_NULL 0x00
#define TIME_FUTURE_TYPE_PAUSE 0x01
#define TIME_FUTURE_TYPE_FADE_TO_BLACK 0x02
#define TIME_FUTURE_TYPE_FADE_FROM_BLACK 0x03
#define TIME_FUTURE_TYPE_FADE_TO_WHITE 0x04
#define TIME_FUTURE_TYPE_FADE_FROM_WHITE 0x05
extern uint16_t TIME_CURRENT;
extern uint16_t TIME_FUTURE;
extern uint8_t TIME_FUTURE_TYPE;
void timeInit();
void timeUpdate();