diff --git a/config.h b/config.h index bfb3996..f05bf2b 100644 --- a/config.h +++ b/config.h @@ -18,4 +18,8 @@ #define SMALL_TEXT_HEIGHT 7 #define SMALL_TEXT_WIDTH 5 #define MEDIUM_TEXT_HEIGHT 7 -#define MEDIUM_TEXT_WIDTH 5 \ No newline at end of file +#define MEDIUM_TEXT_WIDTH 5 + +#define PROGRAM2_TEXT_ITERATIONS 5 +#define PROGRAM2_TRIGGER_CHANCE 25 +#define PROGRAM2_VEHICLE_COUNT 25 \ No newline at end of file diff --git a/index.h b/index.h index f38e9fe..1be8b0d 100644 --- a/index.h +++ b/index.h @@ -4,426 +4,116 @@ const char index_html[] PROGMEM = R"rawliteral(
void addNewTextNode(char text[TEXT_MAX_LENGTH + 1], uint32_t color, bool handle_pos_via_cursor = true, short pos_x = 0, short pos_y = 0, unsigned char scroll_slowness = 1, bool is_scrolling = true, bool is_small = true, short disappear_time = -1)
- void addNewMultiColor(char text[TEXT_MAX_LENGTH + 1], RGBWithIndex colors[4], unsigned char color_count, bool handle_pos_via_cursor = true, short pos_x = 0, short pos_y = 0, unsigned char scroll_slowness = 1, bool is_scrolling = true, bool is_small = true, short disappear_time = -1)
-