mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 07:06:36 +01:00
hopefully fixed 'random noise' screen update
This commit is contained in:
@@ -433,6 +433,9 @@ void drawImageAtAddress(uint32_t addr, uint8_t lut) {
|
||||
|
||||
pr(" complete.\n");
|
||||
break;
|
||||
default: // prevent drawing from an unknown file image type
|
||||
pr("Image with type 0x%02X was requested, but we don't know what to do with that currently...\n", eih->dataType);
|
||||
return;
|
||||
}
|
||||
addOverlay();
|
||||
drawWithSleep();
|
||||
|
||||
BIN
tag_fw/fw154.bin
BIN
tag_fw/fw154.bin
Binary file not shown.
BIN
tag_fw/fw29.bin
BIN
tag_fw/fw29.bin
Binary file not shown.
BIN
tag_fw/fw42.bin
BIN
tag_fw/fw42.bin
Binary file not shown.
@@ -141,7 +141,7 @@ uint8_t channelSelect() { // returns 0 if no accesspoints were found
|
||||
return highestSlot;
|
||||
}
|
||||
|
||||
void mainProtocolLoop(void) {
|
||||
void main() {
|
||||
// displayLoop(); // remove me
|
||||
setupPortsInitial();
|
||||
powerUp(INIT_BASE | INIT_UART);
|
||||
@@ -340,7 +340,3 @@ void mainProtocolLoop(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void main(void) {
|
||||
mainProtocolLoop();
|
||||
}
|
||||
|
||||
@@ -70,12 +70,12 @@ void showSplashScreen() {
|
||||
setColorMode(EPD_MODE_NORMAL, EPD_MODE_INVERT);
|
||||
|
||||
#if (SCREEN_WIDTH == 152) // 1.54"
|
||||
epdPrintBegin(12, 2, EPD_DIRECTION_X, EPD_SIZE_DOUBLE, EPD_COLOR_BLACK);
|
||||
epdPrintBegin(12, 52, EPD_DIRECTION_X, EPD_SIZE_DOUBLE, EPD_COLOR_BLACK);
|
||||
epdpr("Starting");
|
||||
epdPrintEnd();
|
||||
|
||||
loadRawBitmap(oepli, 0, 12, EPD_COLOR_BLACK);
|
||||
loadRawBitmap(cloud, 0, 0, EPD_COLOR_RED);
|
||||
loadRawBitmap(oepli, 8, 12, EPD_COLOR_BLACK);
|
||||
loadRawBitmap(cloud, 8, 0, EPD_COLOR_RED);
|
||||
|
||||
epdPrintBegin(5, 136, EPD_DIRECTION_X, EPD_SIZE_SINGLE, EPD_COLOR_RED);
|
||||
epdpr("%02X%02X", mSelfMac[7], mSelfMac[6]);
|
||||
|
||||
Reference in New Issue
Block a user