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

Method send_command

resources/waveshare_epd/epd2in7.py:165–169  ·  view source on GitHub ↗
(self, command)

Source from the content-addressed store, hash-verified

163 epdconfig.delay_ms(200)
164
165 def send_command(self, command):
166 epdconfig.digital_write(self.dc_pin, 0)
167 epdconfig.digital_write(self.cs_pin, 0)
168 epdconfig.spi_writebyte([command])
169 epdconfig.digital_write(self.cs_pin, 1)
170
171 def send_data(self, data):
172 epdconfig.digital_write(self.dc_pin, 1)

Callers 8

set_lutMethod · 0.95
gray_SetLutMethod · 0.95
initMethod · 0.95
Init_4GrayMethod · 0.95
displayMethod · 0.95
display_4GrayMethod · 0.95
ClearMethod · 0.95
sleepMethod · 0.95

Calls 2

digital_writeMethod · 0.45
spi_writebyteMethod · 0.45

Tested by

no test coverage detected