fix python Sendcommand
This commit is contained in:
parent
f4efe420f0
commit
9af684dfdf
31 changed files with 31 additions and 33 deletions
|
|
@ -113,7 +113,7 @@ class EPD:
|
|||
|
||||
def send_command(self, command):
|
||||
epdconfig.digital_write(self.cs_pin, GPIO.LOW)
|
||||
epdconfig.digital_write(self.dc_pin, GPIO.HIGH)
|
||||
epdconfig.digital_write(self.dc_pin, GPIO.LOW)
|
||||
epdconfig.spi_writebyte([command])
|
||||
epdconfig.digital_write(self.cs_pin, GPIO.HIGH)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue