소스 검색

Merge branch 'master' of https://github.com/waveshare/e-Paper

hnwangkg-ezio 4 년 전
부모
커밋
73946511e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd1in54_V2.py

+ 1 - 1
RaspberryPi&JetsonNano/python/lib/waveshare_epd/epd1in54_V2.py

@@ -181,7 +181,7 @@ class EPD:
         
         self.send_command(0x26)
         for j in range(0, self.height):
-            for i in range(0, self.width / 8):
+            for i in range(0, int(self.width / 8)):
                 self.send_data(image[i + j * int(self.width / 8)])
                 
         self.TurnOnDisplayPart()