diff --git a/Calendar/Epd7in5bAdapter.py b/Calendar/Epd7in5bAdapter.py index 1417de5..bb9e304 100644 --- a/Calendar/Epd7in5bAdapter.py +++ b/Calendar/Epd7in5bAdapter.py @@ -65,9 +65,9 @@ class Epd7in5bAdapter (EpdAdapter): def __get_color__ (self, pixel): color_percent = self.__get_color_percentage__(pixel) brightness = self.__brightness__(pixel) - if brightness > 240 or (brightness > 200 and color_percent[0] > 35): + if brightness > 240 or (brightness > 220 and color_percent[0] > 40): return 'white' - elif color_percent[0] > 40: + elif color_percent[0] > 35: return 'red' else: return 'black'