diff --git a/BertFPVDiversity.h b/BertFPVDiversity.h new file mode 100644 index 0000000..2279ec0 --- /dev/null +++ b/BertFPVDiversity.h @@ -0,0 +1,21 @@ +/* + * Filename: BertFPVDiversity.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * Headers for the main function. + */ + +#ifndef BERTFPVDIVERSITY_H +#define BERTFPVDIVERSITY_H + +#include + +extern uint8_t display_screen; +extern uint32_t current_millis; + +void IRAM_ATTR onTimer(); +void display_output(); + + +#endif diff --git a/BertFPVDiversity.ino b/BertFPVDiversity.ino index e78ac5e..628d04e 100644 --- a/BertFPVDiversity.ino +++ b/BertFPVDiversity.ino @@ -1,16 +1,28 @@ -#include +/* + * Filename: BertFPVDiversity.ino + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * Main program for the diversity pro + */ // 8-bits color code // RRRGGGBB +#include "BertFPVDiversity.h" +#include "video.h" +#include "intro.h" +#include "menu.h" -// Create an instance of the graphics library -ESP_8_BIT_GFX video(false /* = NTSC */, 8 /* = RGB332 color */); +uint8_t display_screen = 0; #define TOUCH_MODE T9 + + const int VALUE_THRESHOLD = 10; int touched_val = 0; bool touched = false; uint32_t last_touched = 0; +uint32_t current_millis = 0; hw_timer_t * timer = NULL; /* create a hardware timer */ uint8_t c = 0; @@ -18,11 +30,25 @@ uint8_t color = 0; void display_output() { // Wait for the next frame to minimize chance of visible tearing - video.waitForFrame(); + // video.waitForFrame(); // Clear screen - video.fillScreen(0); + // video.fillScreen(0); + + // Depending on mode / screen to be displayed + switch(display_screen) { + // Introduction screen + case 0: + Intro::display(); + break; + + // Mode selection screen + case 1: + Menu::begin(); + break; + } +/******* video.setCursor(26,3); video.setTextColor(0b00011100); video.setTextSize(2); @@ -48,9 +74,12 @@ void display_output() { video.setTextSize(1); video.print("Touch:"); video.print(touched_val); + *****/ } void IRAM_ATTR onTimer(){ + current_millis++; + if(!touched) c++; } @@ -64,14 +93,19 @@ void setup() { timerAttachInterrupt(timer, &onTimer, true); /* Set alarm to call onTimer function every second 1 tick is 1us => 1 second is 1000000us */ + /* Set alarm to call onTimer function every second 1 tick is 1us => 1 milisecond is 1000us */ /* Repeat the alarm (third parameter) */ // timerAlarmWrite(timer, 1000000, true); - timerAlarmWrite(timer, 100000, true); + timerAlarmWrite(timer, 1000, true); /* Start an alarm */ timerAlarmEnable(timer); - video.begin(); + /* Standard serial baud rate */ + Serial.begin(115200); + + /* Setup up Video Composite */ + Video::begin(); } void loop() { @@ -84,4 +118,15 @@ void loop() { last_touched = millis() + 500; } } + + // Temporary + if(Serial.available() > 0) { + String serial_cmd_string = Serial.readStringUntil('\n'); + serial_cmd_string.trim(); + + if(serial_cmd_string == "next") { + Menu::menu_position++; + } + Menu::menu_position = (Menu::menu_position >= Menu::MAX_MENU_ITEMS) ? 0 : Menu::menu_position; + } } diff --git a/icon_settings.h b/icon_settings.h new file mode 100644 index 0000000..333ea11 --- /dev/null +++ b/icon_settings.h @@ -0,0 +1,122 @@ +/* + * Filename: icon_settings.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - WiFi ICON + */ + +#ifndef ICON_SETTINGS_H +#define ICON_SETTINGS_H + +// Filesize: 6478 Bytes + +// Size bitmap: 512 bytes + +#define imageWidth 100 +#define imageHeight 100 + +const unsigned char icon_settings [] PROGMEM = { +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x0f,0xc0,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0xff,0xc0,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xe0,0x00,0x70,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xe0,0x00,0x7c,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xe0,0x00,0xfe,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xe0,0x01,0xff,0x80,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xf0,0x01,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xf0,0x03,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xf8,0x07,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0x0f,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xff,0xff,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x00,0x01,0xc0,0x07,0xff,0xff,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x00,0x01,0xf0,0x0f,0xff,0xff,0xff,0xff,0x80,0x00,0x00,0x00 +,0x00,0x00,0x03,0xfc,0x1f,0xff,0xff,0xff,0xff,0x80,0x00,0x00,0x00 +,0x00,0x00,0x03,0xff,0x3f,0xff,0xff,0xff,0xff,0x80,0x00,0x00,0x00 +,0x00,0x00,0x07,0xff,0xff,0xff,0xff,0xff,0xff,0x80,0x00,0x00,0x00 +,0x00,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x00,0x0f,0xff,0xff,0xff,0x80,0x7f,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xff,0xfc,0x00,0x1f,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xff,0xf8,0x00,0x07,0xff,0xf0,0x06,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0xe0,0x00,0x01,0xff,0xfb,0xfe,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0xc0,0x00,0x00,0xff,0xff,0xfe,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xff,0x80,0x00,0x00,0x7f,0xff,0xff,0x00,0x00 +,0x00,0x00,0x0f,0xff,0xff,0x00,0x00,0x00,0x3f,0xff,0xff,0x00,0x00 +,0x00,0x00,0x03,0xff,0xfe,0x00,0x00,0x00,0x1f,0xff,0xff,0x00,0x00 +,0x00,0x00,0x01,0xff,0xfe,0x00,0x00,0x00,0x1f,0xff,0xff,0x00,0x00 +,0x00,0x00,0x00,0xff,0xfc,0x00,0x00,0x00,0x0f,0xff,0xff,0x80,0x00 +,0x00,0x00,0x00,0x3f,0xf8,0x00,0x00,0x00,0x0f,0xff,0xff,0x80,0x00 +,0x00,0x00,0x00,0x3f,0xf8,0x00,0x00,0x00,0x07,0xff,0xff,0x80,0x00 +,0x00,0x00,0x00,0x3f,0xf8,0x00,0x1e,0x00,0x07,0xff,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x3f,0xf8,0x00,0x7f,0x80,0x07,0xff,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x3f,0xf0,0x00,0xff,0xc0,0x07,0xff,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x3f,0xf0,0x00,0xff,0xc0,0x03,0xff,0xff,0x00,0x00 +,0x00,0x00,0x00,0x3f,0xf0,0x01,0xff,0xe0,0x03,0xff,0xf8,0x00,0x00 +,0x00,0x00,0x00,0x3f,0xf0,0x01,0xff,0xe0,0x03,0xff,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x7f,0xf0,0x01,0xff,0xe0,0x03,0xff,0x80,0x00,0x00 +,0x00,0x00,0x01,0xff,0xf0,0x01,0xff,0xe0,0x03,0xff,0x80,0x00,0x00 +,0x00,0x00,0x07,0xff,0xf0,0x01,0xff,0xc0,0x03,0xff,0x00,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xf0,0x00,0xff,0xc0,0x03,0xff,0x00,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xf0,0x00,0x7f,0x80,0x07,0xff,0x00,0x00,0x00 +,0x00,0x00,0xff,0xff,0xf8,0x00,0x7f,0x80,0x07,0xff,0x00,0x00,0x00 +,0x00,0x00,0xff,0xff,0xf8,0x00,0x1e,0x00,0x07,0xff,0x00,0x00,0x00 +,0x00,0x00,0xff,0xff,0xf8,0x00,0x00,0x00,0x07,0xff,0x00,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xfc,0x00,0x00,0x00,0x0f,0xff,0x00,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xfc,0x00,0x00,0x00,0x0f,0xff,0x80,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xfe,0x00,0x00,0x00,0x1f,0xff,0xe0,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xfe,0x00,0x00,0x00,0x3f,0xff,0xf0,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0x00,0x00,0x00,0x3f,0xff,0xf8,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0x80,0x00,0x00,0x7f,0xff,0xfc,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0xc0,0x00,0x01,0xff,0xff,0xfe,0x00,0x00 +,0x00,0x00,0x3f,0xf7,0xff,0xe0,0x00,0x03,0xff,0xff,0xfe,0x00,0x00 +,0x00,0x00,0x1e,0x03,0xff,0xf8,0x00,0x07,0xff,0xff,0xfe,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xfe,0x00,0x1f,0xff,0xff,0xfc,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xf8,0x00,0x00 +,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xf8,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xff,0xff,0xf0,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xff,0x7f,0xf0,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xfe,0x1f,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xfc,0x03,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xf8,0x00,0xc0,0x00,0x00 +,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x03,0xff,0xf8,0x1f,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x03,0xff,0xf8,0x07,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x03,0xff,0xf0,0x03,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x01,0xff,0xe0,0x03,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7f,0xe0,0x01,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x3f,0xc0,0x01,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x0f,0x80,0x01,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0x80,0x00,0xff,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x80,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfc,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +}; + +#endif diff --git a/intro.cpp b/intro.cpp new file mode 100644 index 0000000..e8d4471 --- /dev/null +++ b/intro.cpp @@ -0,0 +1,80 @@ +/* + * Filename: intro.cpp + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - Introduction screen + */ + +#include "intro.h" + +namespace Intro { + uint32_t intro_delays_time = 0; + + void display() { + // First time + if(intro_delays_time == 0) { + intro_delays_time = current_millis + 1000; + } + + if(current_millis > intro_delays_time) { + display_screen = 1; + return; + } + + // Wait for the next frame to minimize chance of visible tearing + Video::video.waitForFrame(); + + // Clear screen + Video::video.fillScreen(0x00); + + + Video::video.setTextColor(0xFD); + Video::video.setTextSize(1); + Video::video.setFont(&FreeSansBold18pt7b); + Video::video.setCursor(55,100); + Video::video.print("BertFPV"); + Video::video.setFont(&FreeSansBold12pt7b); + Video::video.setCursor(51,120); + Video::video.setTextColor(0xC0); + Video::video.print("RX5808-PRO"); + Video::video.setFont(&FreeSans9pt7b); + Video::video.setCursor(80,135); + Video::video.setTextColor(0x0F); + Video::video.print("Version 1.0"); + + // Just for 1 seconds ;) + // delay(1000); + + // display_screen++; + + /****** + for(int i=0; i<100; i++) { + Video::video.drawPixel(100, i,0x6c); + Video::video.drawPixel(105, i,0x6c); + } + ****/ + // Video::video.setTextWrap(true); + // Video::video.fillRect(0,0,100,10,0xff); + // void drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color) override; + + // color = 0b10010010; + // video.drawFastHLine(0, 0, 255, color); + // video.drawFastHLine(0, 20, 255, color); + // video.drawFastVLine(0, 0, 20, color); + // video.drawFastVLine(255, 0, 20, color); + + // video.setCursor(0, 30); + // video.setTextColor(0xFF); + // video.setTextSize(1); + // video.print("Color:"); + // video.print(String(c)); + + // video.setCursor(0, 40); + // video.setTextColor(0xFF); + // video.setTextSize(1); + // video.print("Touch:"); + // video.print(touched_val); + + } +} diff --git a/intro.h b/intro.h new file mode 100644 index 0000000..1805c28 --- /dev/null +++ b/intro.h @@ -0,0 +1,20 @@ +/* + * Filename: intro.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - Introduction screen + */ + +#ifndef INTRO_H +#define INTRO_H + +#include +#include "BertFPVDiversity.h" +#include "video.h" + +namespace Intro { + void display(); +} + +#endif diff --git a/menu.cpp b/menu.cpp new file mode 100644 index 0000000..8768d39 --- /dev/null +++ b/menu.cpp @@ -0,0 +1,36 @@ +#include "menu.h" +#include "icon_search.h" +#include "icon_wifi.h" +#i + +namespace Menu { + uint8_t menu_position = 0; + uint8_t MAX_MENU_ITEMS = 2; + + void begin() { + // Wait for the next frame to minimize chance of visible tearing + Video::video.waitForFrame(); + + // Clear screen + Video::video.fillScreen(0x00); + + + switch(menu_position) { + case 0: + Video::drawBitmap(60, 50, icon_search, 100, 100, 0xFF); + Video::video.setFont(&FreeSansBold18pt7b); + Video::video.setCursor(60,180); + Video::video.setTextColor(0xC); + Video::video.print("Search"); + break; + + case 1: + Video::drawBitmap(60, 50, icon_wifi, 100, 100, 0xFF); + Video::video.setFont(&FreeSansBold18pt7b); + Video::video.setCursor(60,180); + Video::video.setTextColor(0xC); + Video::video.print("WiFi"); + break; + } + } +} diff --git a/menu.h b/menu.h new file mode 100644 index 0000000..a74f956 --- /dev/null +++ b/menu.h @@ -0,0 +1,24 @@ +/* + * Filename: menu.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - Menu handler + */ + +#ifndef MENU_H +#define MENU_H + +#include +#include "BertFPVDiversity.h" +#include "video.h" + +namespace Menu { + extern uint8_t menu_position; + extern uint8_t MAX_MENU_ITEMS; + + void begin(); +} + +#endif + diff --git a/search.h b/search.h new file mode 100644 index 0000000..cbed8e8 --- /dev/null +++ b/search.h @@ -0,0 +1,122 @@ +/* + * Filename: icon_search.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - Search ICON + */ + +#ifndef ICON_SEARCH_H +#define ICON_SEARCH_H + +// Filesize: 6478 Bytes + +// Size bitmap: 512 bytes + +#define imageWidth 100 +#define imageHeight 100 + +const unsigned char icon_search [] PROGMEM = { +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x3f,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x07,0xff,0xff,0xff,0xc0,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x1f,0xff,0xff,0xff,0xf0,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xfc,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x03,0xff,0xff,0xff,0xff,0xff,0x80,0x00,0x00,0x00,0x00 +,0x00,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0xff,0xff,0xff,0xf8,0x00,0x00,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xff,0xff,0xff,0xff,0xfc,0x00,0x00,0x00,0x00 +,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0x00,0x00,0x00,0x00 +,0x00,0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00 +,0x00,0x01,0xff,0xff,0xff,0x83,0xff,0xff,0xff,0x00,0x00,0x00,0x00 +,0x00,0x03,0xff,0xff,0xf8,0x00,0x3f,0xff,0xff,0x80,0x00,0x00,0x00 +,0x00,0x07,0xff,0xff,0xc0,0x00,0x07,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x0f,0xff,0xff,0x00,0x00,0x01,0xff,0xff,0xc0,0x00,0x00,0x00 +,0x00,0x0f,0xff,0xfe,0x00,0x00,0x00,0xff,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x1f,0xff,0xf8,0x00,0x00,0x00,0x3f,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x1f,0xff,0xf0,0x00,0x00,0x00,0x1f,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x3f,0xff,0xe0,0x00,0x00,0x00,0x0f,0xff,0xf8,0x00,0x00,0x00 +,0x00,0x3f,0xff,0xe0,0x00,0x00,0x00,0x07,0xff,0xf8,0x00,0x00,0x00 +,0x00,0x7f,0xff,0x80,0x00,0x00,0x00,0x07,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x7f,0xff,0x80,0x00,0x00,0x00,0x03,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x7f,0xff,0x00,0x00,0x00,0x00,0x01,0xff,0xfc,0x00,0x00,0x00 +,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x01,0xff,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0xff,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0xff,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xff,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xff,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xff,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xf8,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x01,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfc,0x00,0x00,0x00,0x00,0x00,0x7f,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0xff,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xfe,0x00,0x00,0x00,0x00,0x00,0xff,0xfe,0x00,0x00,0x00 +,0x00,0xff,0xff,0x00,0x00,0x00,0x00,0x01,0xff,0xfe,0x00,0x00,0x00 +,0x00,0x7f,0xff,0x00,0x00,0x00,0x00,0x01,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x7f,0xff,0x00,0x00,0x00,0x00,0x03,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x3f,0xff,0x80,0x00,0x00,0x00,0x07,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x3f,0xff,0xc0,0x00,0x00,0x00,0x0f,0xff,0xf8,0x00,0x00,0x00 +,0x00,0x3f,0xff,0xe0,0x00,0x00,0x00,0x0f,0xff,0xf8,0x00,0x00,0x00 +,0x00,0x1f,0xff,0xf0,0x00,0x00,0x00,0x1f,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x1f,0xff,0xf8,0x00,0x00,0x00,0x3f,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x0f,0xff,0xfc,0x00,0x00,0x00,0xff,0xff,0xe0,0x00,0x00,0x00 +,0x00,0x0f,0xff,0xff,0x00,0x00,0x01,0xff,0xff,0xf0,0x00,0x00,0x00 +,0x00,0x07,0xff,0xff,0xc0,0x00,0x07,0xff,0xff,0xf8,0x00,0x00,0x00 +,0x00,0x03,0xff,0xff,0xf8,0x00,0x3f,0xff,0xff,0xfc,0x00,0x00,0x00 +,0x00,0x01,0xff,0xff,0xff,0x01,0xff,0xff,0xff,0xfe,0x00,0x00,0x00 +,0x00,0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00,0x00 +,0x00,0x00,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x80,0x00,0x00 +,0x00,0x00,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xe0,0x00,0x00 +,0x00,0x00,0x3f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf0,0x00,0x00 +,0x00,0x00,0x1f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xf8,0x00,0x00 +,0x00,0x00,0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfc,0x00,0x00 +,0x00,0x00,0x03,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfc,0x00,0x00 +,0x00,0x00,0x01,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0x00,0x00 +,0x00,0x00,0x00,0x7f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x80,0x00 +,0x00,0x00,0x00,0x3f,0xff,0xff,0xff,0xf1,0xff,0xff,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x0f,0xff,0xff,0xff,0xe0,0xff,0xff,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x00,0xff,0xff,0xfe,0x00,0xff,0xff,0xff,0xf0,0x00 +,0x00,0x00,0x00,0x00,0x1f,0xff,0xf0,0x00,0x3f,0xff,0xff,0xf8,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0xff,0xff,0xf8,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0xff,0xff,0xfc,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xff,0xff,0xfe,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xff,0xff,0xfe,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xff,0xff,0xfe,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xfc,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7f,0xff,0xf8,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0xff,0xf0,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0xff,0xe0,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0xff,0xc0,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0xff,0x80,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0xff,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xfc,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xfc,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +}; + +#endif diff --git a/video.cpp b/video.cpp new file mode 100644 index 0000000..b8acba3 --- /dev/null +++ b/video.cpp @@ -0,0 +1,25 @@ +#include "video.h" + +namespace Video { + // Create an instance of the graphics library + ESP_8_BIT_GFX video(true /* = NTSC */, 8 /* = RGB332 color */); + + void begin() { + video.begin(); + } + + void drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color) { + int16_t i, j, byteWidth = (w + 7) / 8; + uint8_t byte; + for(j=0; j +#include +#include +#include + +namespace Video { + extern ESP_8_BIT_GFX video; + + void begin(); + void drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color); +} + +#endif diff --git a/wifi.h b/wifi.h new file mode 100644 index 0000000..59c134c --- /dev/null +++ b/wifi.h @@ -0,0 +1,122 @@ +/* + * Filename: icon_wifi.h + * Date: Mon 20 Sep 22:14:58 +08 2021 + * Author: Englebert + * Description: + * - WiFi ICON + */ + +#ifndef ICON_WIFI_H +#define ICON_WIFI_H + +// Filesize: 6478 Bytes + +// Size bitmap: 512 bytes + +#define imageWidth 100 +#define imageHeight 100 + +const unsigned char icon_wifi [] PROGMEM = { +0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x0f,0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x3f,0xff,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x7f,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0xf0,0x01,0xff,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x01,0xe0,0x00,0x03,0xfe,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x01,0xc0,0x00,0x00,0x7f,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x07,0xf0,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x01,0xfc,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x00,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x00,0x0f,0xc0,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x00,0x03,0xe0,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x00,0x01,0xf8,0x00,0x00,0x00,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x00,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00 +,0x01,0xc0,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00 +,0x01,0xc0,0x00,0x00,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00,0x00 +,0x00,0xf0,0x00,0x00,0x00,0x00,0x03,0xc0,0x00,0x00,0x00,0x00,0x00 +,0x00,0x7f,0xc0,0x00,0x00,0x00,0x01,0xf0,0x00,0x00,0x00,0x00,0x00 +,0x00,0x3f,0xff,0x80,0x00,0x00,0x00,0x78,0x00,0x00,0x00,0x00,0x00 +,0x00,0x0f,0xff,0xfc,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x1f,0xff,0x80,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x3f,0xe0,0x00,0x00,0x0f,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x03,0xfc,0x00,0x00,0x07,0x80,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x7e,0x00,0x00,0x03,0xc0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x0f,0x80,0x00,0x01,0xe0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x03,0xe0,0x00,0x00,0xf0,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0xf8,0x00,0x00,0x78,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x00,0x38,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x1f,0x00,0x00,0x1c,0x00,0x00,0x00,0x00 +,0x00,0x1f,0xfe,0x00,0x00,0x0f,0x80,0x00,0x0e,0x00,0x00,0x00,0x00 +,0x00,0x7f,0xff,0xe0,0x00,0x03,0xc0,0x00,0x0f,0x00,0x00,0x00,0x00 +,0x00,0xfc,0x7f,0xfc,0x00,0x01,0xe0,0x00,0x07,0x00,0x00,0x00,0x00 +,0x00,0xe0,0x00,0xff,0x00,0x00,0xf0,0x00,0x03,0x80,0x00,0x00,0x00 +,0x01,0xc0,0x00,0x0f,0xc0,0x00,0x38,0x00,0x01,0xc0,0x00,0x00,0x00 +,0x03,0x80,0x00,0x03,0xf0,0x00,0x1c,0x00,0x01,0xc0,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x7c,0x00,0x0e,0x00,0x00,0xe0,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x3e,0x00,0x07,0x00,0x00,0x70,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x0f,0x80,0x03,0x80,0x00,0x70,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x07,0xc0,0x03,0xc0,0x00,0x38,0x00,0x00,0x00 +,0x03,0x00,0x00,0x00,0x01,0xe0,0x01,0xe0,0x00,0x38,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x00,0xf0,0x00,0xf0,0x00,0x1c,0x00,0x00,0x00 +,0x03,0x80,0x00,0x00,0x00,0x78,0x00,0x70,0x00,0x1c,0x00,0x00,0x00 +,0x01,0xc0,0x00,0x00,0x00,0x3c,0x00,0x38,0x00,0x0e,0x00,0x00,0x00 +,0x01,0xe0,0x00,0x00,0x00,0x0e,0x00,0x38,0x00,0x0e,0x00,0x00,0x00 +,0x00,0xf0,0x00,0x00,0x00,0x07,0x00,0x1c,0x00,0x07,0x00,0x00,0x00 +,0x00,0x7f,0xf0,0x00,0x00,0x07,0x80,0x0e,0x00,0x07,0x00,0x00,0x00 +,0x00,0x3f,0xff,0x00,0x00,0x03,0xc0,0x0e,0x00,0x03,0x80,0x00,0x00 +,0x00,0x07,0xff,0xc0,0x00,0x01,0xe0,0x07,0x00,0x03,0x80,0x00,0x00 +,0x00,0x00,0x07,0xf0,0x00,0x00,0xe0,0x07,0x00,0x01,0x80,0x00,0x00 +,0x00,0x00,0x00,0xfc,0x00,0x00,0x70,0x03,0x80,0x01,0xc0,0x00,0x00 +,0x00,0x00,0x00,0x3e,0x00,0x00,0x38,0x01,0x80,0x01,0xc0,0x00,0x00 +,0x00,0x00,0x00,0x0f,0x80,0x00,0x38,0x01,0xc0,0x00,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x03,0xc0,0x00,0x1c,0x01,0xc0,0x00,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x01,0xe0,0x00,0x1c,0x00,0xe0,0x00,0xe0,0x00,0x00 +,0x00,0x00,0x00,0x00,0xf0,0x00,0x0e,0x00,0xe0,0x00,0x60,0x00,0x00 +,0x00,0x00,0x00,0x00,0x78,0x00,0x0e,0x00,0x60,0x00,0x70,0x00,0x00 +,0x00,0x00,0x00,0x00,0x3c,0x00,0x07,0x00,0x70,0x00,0x70,0x00,0x00 +,0x00,0x00,0x00,0x00,0x1c,0x00,0x03,0x00,0x70,0x00,0x30,0x00,0x00 +,0x00,0x00,0xfe,0x00,0x0e,0x00,0x03,0x80,0x30,0x00,0x30,0x00,0x00 +,0x00,0x07,0xff,0x80,0x07,0x00,0x03,0x80,0x38,0x00,0x38,0x00,0x00 +,0x00,0x0f,0xff,0xe0,0x07,0x00,0x01,0x80,0x38,0x00,0x38,0x00,0x00 +,0x00,0x1e,0x00,0xf0,0x03,0x80,0x01,0xc0,0x18,0x00,0x38,0x00,0x00 +,0x00,0x38,0x00,0x78,0x03,0x80,0x00,0xc0,0x18,0x00,0x18,0x00,0x00 +,0x00,0x70,0x00,0x3c,0x01,0xc0,0x00,0xc0,0x1c,0x00,0x18,0x00,0x00 +,0x00,0xe0,0x00,0x1e,0x01,0xc0,0x00,0xe0,0x1c,0x00,0x18,0x00,0x00 +,0x00,0xc0,0x00,0x0e,0x00,0xe0,0x00,0xe0,0x1c,0x00,0x1c,0x00,0x00 +,0x01,0xc0,0x00,0x07,0x00,0xe0,0x00,0x60,0x0c,0x00,0x1c,0x00,0x00 +,0x01,0x80,0x00,0x07,0x00,0x60,0x00,0x60,0x0c,0x00,0x1c,0x00,0x00 +,0x03,0x80,0x00,0x07,0x00,0x70,0x00,0x70,0x0c,0x00,0x1c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x70,0x00,0x70,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x70,0x00,0x70,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x30,0x00,0x70,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x30,0x00,0x70,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x30,0x00,0x30,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x03,0x00,0x38,0x00,0x30,0x0e,0x00,0x0c,0x00,0x00 +,0x03,0x80,0x00,0x07,0x00,0x38,0x00,0x30,0x0e,0x00,0x0c,0x00,0x00 +,0x01,0xc0,0x00,0x07,0x00,0x38,0x00,0x30,0x0e,0x00,0x0c,0x00,0x00 +,0x01,0xc0,0x00,0x06,0x00,0x38,0x00,0x30,0x0e,0x00,0x0c,0x00,0x00 +,0x00,0xe0,0x00,0x0e,0x00,0x38,0x00,0x70,0x06,0x00,0x0c,0x00,0x00 +,0x00,0xe0,0x00,0x1c,0x00,0x18,0x00,0x70,0x07,0x00,0x1c,0x00,0x00 +,0x00,0x70,0x00,0x3c,0x00,0x1c,0x00,0x70,0x07,0x00,0x1c,0x00,0x00 +,0x00,0x3c,0x00,0x78,0x00,0x0e,0x00,0xe0,0x03,0x80,0x38,0x00,0x00 +,0x00,0x1f,0x01,0xf0,0x00,0x0f,0x03,0xc0,0x03,0xc0,0x78,0x00,0x00 +,0x00,0x0f,0xff,0xe0,0x00,0x07,0xff,0x80,0x01,0xff,0xf0,0x00,0x00 +,0x00,0x03,0xff,0x80,0x00,0x03,0xff,0x00,0x00,0xff,0xe0,0x00,0x00 +,0x00,0x00,0xfc,0x00,0x00,0x00,0xfe,0x00,0x00,0x3f,0x80,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 +}; + +#endif