MCPcopy Index your code
hub / github.com/FrameworkComputer/inputmodule-rs / commit_cols

Function commit_cols

python/inputmodule/inputmodule/ledmatrix.py:239–243  ·  view source on GitHub ↗

Commit the changes from sending individual cols with send_col(), displaying the matrix. This makes sure that the matrix isn't partially updated.

(dev, s)

Source from the content-addressed store, hash-verified

237
238
239def commit_cols(dev, s):
240 """Commit the changes from sending individual cols with send_col(), displaying the matrix.
241 This makes sure that the matrix isn't partially updated."""
242 command = FWK_MAGIC + [CommandVals.DrawGreyColBuffer, 0x00]
243 send_serial(dev, s, command)
244
245
246def checkerboard(dev, n):

Callers 7

cameraFunction · 0.70
videoFunction · 0.70
image_greyscaleFunction · 0.70
checkerboardFunction · 0.70
every_nth_colFunction · 0.70
every_nth_rowFunction · 0.70
all_brightnessesFunction · 0.70

Calls 1

send_serialFunction · 0.90

Tested by

no test coverage detected