diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3e.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3e.py index 59fc3c0c..ac0629c4 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3e.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in3e.py @@ -180,7 +180,7 @@ def init(self): def getbuffer(self, image): # Create a pallette with the 7 colors supported by the panel pal_image = Image.new("P", (1,1)) - pal_image.putpalette( (0,0,0, 255,255,255, 255,255,0, 255,0,0, 0,0,0, 0,0,255, 0,255,0) + (0,0,0)*249) + pal_image.putpalette( (0,0,0, 255,255,255, 255,255,0, 255,0,0, 255,128,0, 0,0,255, 0,255,0) + (0,0,0)*249) # pal_image.putpalette( (0,0,0, 255,255,255, 0,255,0, 0,0,255, 255,0,0, 255,255,0, 255,128,0) + (0,0,0)*249) # Check if we need to rotate the image