e-Paper
e-Paper copied to clipboard
EPD_7in5_V2_test.c bmp black and white inverted
When loading a bmp file in the c language example "EPD_7in5_V2_test.c" the image is shown inverted, black is white and white is black on the EPD_7in5_V2, however, when using the same bmp file with the python example it displays correctly.
UPDATE: I found the problem, it's in the ~/e-Paper/RaspberryPi_JetsonNano/c/lib/e-Paper/EPD_7in5_V2.c file, line#305 EPD_SendData(~blackimage[i + j * Width]); change to: EPD_SendData(blackimage[i + j * Width]);
problem solved