MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / send_command

Method send_command

resources/waveshare_epd/epd3in7.py:116–120  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

114 epdconfig.delay_ms(200)
115
116 def send_command(self, command):
117 epdconfig.digital_write(self.dc_pin, 0)
118 epdconfig.digital_write(self.cs_pin, 0)
119 epdconfig.spi_writebyte([command])
120 epdconfig.digital_write(self.cs_pin, 1)
121
122 def send_data(self, data):
123 epdconfig.digital_write(self.dc_pin, 1)

Callers 6

load_lutMethod · 0.95
initMethod · 0.95
display_4GrayMethod · 0.95
display_1GrayMethod · 0.95
ClearMethod · 0.95
sleepMethod · 0.95

Calls 2

digital_writeMethod · 0.45
spi_writebyteMethod · 0.45

Tested by

no test coverage detected