atc1441 / ZBS_Flasher

Arduino C++ Library and interface to flash the ZBS243 / SEM9110 8051 Microcontroller
138 stars 25 forks source link

Firmware Image with Grayscale #25

Closed jhbruhn closed 1 year ago

jhbruhn commented 1 year ago

I am currently using the precompiled firmware image you provide here https://github.com/atc1441/ZBS_Flasher/tree/main/custom-firmware/, which as far as I understand was compiled from the code in firmware_ch11_low_power for a v033 ESL.

Unfortunately I don't yet understand the changes you made to disable the grayscale colors of the epaper display. There are two board variants, zbs29v033 and zbs29v033_BW, but both have the same LUTs, probably only capable of showing BWR images without grayscale?

My question is: What do I have to do to get the other benefits of this firmware, but also be able to show grayscale values?

atc1441 commented 1 year ago

Hey. Both firmware version are without greyscale and for different devices. One is the 2.9" BW screen and one the BWR screen.

A lot of changes where made to remove greyscale and it is not possible to add it back in without removing other improvements as well like sleeping while doing the refresh, you might be better of by starting from Dmitrys greyscale version.

jhbruhn commented 1 year ago

Thanks. Were there any other changes required for the v033 board revision? Dmitrys version only has configs for v025 and v026.

atc1441 commented 1 year ago

It should be directly compatible with the v26 if i remember right, otherwise it was the v25

jhbruhn commented 1 year ago

Judging by this, it should be the v26 https://github.com/atc1441/ZBS_Flasher/blob/0e2d9852bc659d38c6136b0abb2517855143651a/custom-firmware/firmware_ch11_low_power/board/zbs29v033/board.h#L43 For future reference.

atc1441 commented 1 year ago

Yes it was Version 26 👍