Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antirez/freakwan
/ write_data
Method
write_data
ssd1306.py:149–155 ·
view source on GitHub ↗
(self, buf)
Source
from the content-addressed store, hash-verified
147
self.cs(1)
148
149
def
write_data(self, buf):
150
self.spi.init(baudrate=self.rate, polarity=0, phase=0)
151
self.cs(1)
152
self.dc(1)
153
self.cs(0)
154
self.spi.write(buf)
155
self.cs(1)
Callers
nothing calls this directly
Calls
2
init
Method · 0.80
write
Method · 0.45
Tested by
no test coverage detected