mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 09:04:24 +01:00
auto EPD-lut type detection on 1.54", new binaries
This commit is contained in:
@@ -21,7 +21,5 @@
|
||||
|
||||
#define SCREEN_DATA_PASSES 2
|
||||
|
||||
#define SCREEN_LUT_LENGTH 10
|
||||
|
||||
|
||||
#endif
|
||||
@@ -21,7 +21,4 @@
|
||||
|
||||
#define SCREEN_DATA_PASSES 2
|
||||
|
||||
#define SCREEN_LUT_LENGTH 7
|
||||
|
||||
|
||||
#endif
|
||||
@@ -21,7 +21,5 @@
|
||||
|
||||
#define SCREEN_DATA_PASSES 2
|
||||
|
||||
#define SCREEN_LUT_LENGTH 7
|
||||
|
||||
|
||||
#endif
|
||||
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.
@@ -10,11 +10,10 @@
|
||||
#define LUTGROUP_IMPROVE_REDS 5
|
||||
#define LUTGROUP_UNUSED 6
|
||||
|
||||
#if (SCREEN_LUT_LENGTH == 10)
|
||||
#define LUTGROUP_UNKNOWN 7
|
||||
#define LUTGROUP_UNUSED3 8
|
||||
#define LUTGROUP_UNUSED4 9
|
||||
#endif
|
||||
|
||||
|
||||
struct vgroup {
|
||||
uint8_t A : 2;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define FW_VERSION 013 // version number (max 2.5.5 :) )
|
||||
#define FW_VERSION_SUFFIX "-rf99" // suffix, like -RC1 or whatever.
|
||||
#define HAS_BUTTON // uncomment to enable reading a push button (connect between 'TEST' en 'GND' on the tag, along with a 100nF capacitor in parallel).
|
||||
#define DEBUGBLOCKS // uncomment to enable extra debug information on the block transfers
|
||||
|
||||
#define FW_VERSION 014 // version number (max 2.5.5 :) )
|
||||
#define FW_VERSION_SUFFIX "-lutje" // suffix, like -RC1 or whatever.
|
||||
#define HAS_BUTTON // uncomment to enable reading a push button (connect between 'TEST' en 'GND' on the tag, along with a 100nF capacitor in parallel).
|
||||
#define DEBUGBLOCKS // uncomment to enable extra debug information on the block transfers
|
||||
//#define PRINT_LUT // uncomment if you want the tag to print the LUT for the current temperature bracket
|
||||
#endif
|
||||
@@ -180,7 +180,7 @@ void addScanResult(uint8_t channel, uint8_t lqi) {
|
||||
#if (SCREEN_WIDTH == 128) // 2.9"
|
||||
epdPrintBegin(56 + ((resultcounter % 4) * 16), 282 - (47 * (resultcounter / 4)), EPD_DIRECTION_Y, EPD_SIZE_SINGLE, EPD_COLOR_BLACK);
|
||||
#endif
|
||||
#if (SCREEN_WIDTH ==150) // 1.54"
|
||||
#if (SCREEN_WIDTH ==152) // 1.54"
|
||||
epdPrintBegin(4 + (47 * (resultcounter / 8)), 31 + (15 * (resultcounter % 8)), EPD_DIRECTION_X, EPD_SIZE_SINGLE, EPD_COLOR_BLACK);
|
||||
#endif
|
||||
#if (SCREEN_WIDTH == 400) // 4.2"
|
||||
|
||||
Reference in New Issue
Block a user