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

Function full_brightness

fl16-inputmodules/src/patterns.rs:338–344  ·  view source on GitHub ↗
(matrix: &mut Foo)

Source from the content-addressed store, hash-verified

336}
337
338pub fn full_brightness(matrix: &mut Foo) {
339 // Fills every pixel individually
340 //matrix.fill_brightness(0xFF).unwrap();
341
342 // Fills full page at once
343 matrix.device.fill(0xFF).unwrap();
344}
345
346pub fn zigzag() -> Grid {
347 let mut grid = Grid::default();

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.80

Tested by

no test coverage detected