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

Function show_string

python/inputmodule/inputmodule/ledmatrix.py:421–423  ·  view source on GitHub ↗

Render a string with up to five letters

(dev, s)

Source from the content-addressed store, hash-verified

419
420
421def show_string(dev, s):
422 """Render a string with up to five letters"""
423 show_font(dev, [font.convert_font(letter) for letter in str(s)[:5]])
424
425
426def show_font(dev, font_items):

Callers 5

main_cliFunction · 0.90
run_guiFunction · 0.90
game_overFunction · 0.90
wpm_demoFunction · 0.90
clockFunction · 0.90

Calls 1

show_fontFunction · 0.70

Tested by

no test coverage detected