Matt Vogel преди 3 години
родител
ревизия
cd6b264fb6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py

+ 1 - 1
RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd7in5b_V2.py

@@ -154,7 +154,7 @@ class EPD:
 
     def display(self, imageblack, imagered):
         self.send_command(0x10)
-        self.send_data2(imageblack)
+        self.send_data2(~imageblack)
         
         self.send_command(0x13)
         self.send_data2(imagered) #this may need to be ~ inverted