mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 06:06:23 +01:00
Added 2.9" version AP
This commit is contained in:
BIN
binaries/AP_FW_2.9.bin
Normal file
BIN
binaries/AP_FW_2.9.bin
Normal file
Binary file not shown.
Binary file not shown.
@@ -84,7 +84,11 @@ void epdShowRun() {
|
||||
selectLUT(EPD_LUT_NO_REPEATS);
|
||||
clearScreen();
|
||||
setColorMode(EPD_MODE_NORMAL, EPD_MODE_INVERT);
|
||||
#if (SCREEN_HEIGHT == 296)
|
||||
epdPrintBegin(56, 200, EPD_DIRECTION_Y, EPD_SIZE_DOUBLE, EPD_COLOR_BLACK);
|
||||
#else
|
||||
epdPrintBegin(16, 55, EPD_DIRECTION_X, EPD_SIZE_DOUBLE, EPD_COLOR_BLACK);
|
||||
#endif
|
||||
epdpr("AP Mode");
|
||||
epdPrintEnd();
|
||||
draw();
|
||||
|
||||
@@ -17,4 +17,9 @@ make BUILD=zbs154v033 CPU=8051 SOC=zbs243 > /dev/null
|
||||
mv main.bin ../binaries/AP_FW_1.54.bin -v
|
||||
make clean > /dev/null
|
||||
|
||||
echo -e "\n\nBuilding 2.9 version..."
|
||||
make BUILD=zbs29v033 CPU=8051 SOC=zbs243 > /dev/null
|
||||
mv main.bin ../binaries/AP_FW_2.9.bin -v
|
||||
make clean > /dev/null
|
||||
|
||||
php packagebinaries.php
|
||||
|
||||
@@ -51,7 +51,7 @@ void epdWriteByte(uint8_t b) {
|
||||
epdSend(b);
|
||||
epdByteCounter++;
|
||||
// check if we need to switch to a
|
||||
if (epdByteCounter == (SCREEN_HEIGHT * SCREEN_WIDTH / 8)) {
|
||||
if (epdByteCounter == (SCREEN_HEIGHT * (SCREEN_WIDTH / 8))) {
|
||||
epdDeselect();
|
||||
endWriteFramebuffer();
|
||||
beginWriteFramebuffer(EPD_COLOR_RED);
|
||||
|
||||
Reference in New Issue
Block a user