@@ -82,8 +82,8 @@ Those that require an argument or setup have examples here:
8282
8383###### Percentage
8484
85- Light up a percentage of the module. From bottom to top.
86- This could be used to show volume level, progress of something, or similar.
85+ Light up a percentage of the module from bottom to top.
86+ This can display volume level, progress of something, or similar.
8787
8888``` sh
8989inputmodule-control led-matrix --percentage 30
@@ -140,7 +140,7 @@ inputmodule-control led-matrix --string "LOTUS"
140140```
141141
142142The symbols parameter is much more powerful, it can also show extra symbols.
143- The full list of symbols is defined [ here] ( https://github.com/FrameworkComputer/led_matrix_fw/blob/main /inputmodule-control/src/font.rs) .
143+ The full list of symbols is defined [ here] ( .. /inputmodule-control/src/font.rs) .
144144
145145``` sh
146146# Show 0 °C, a snow icon and a smiley
@@ -149,9 +149,9 @@ inputmodule-control led-matrix --symbols 0 degC ' ' snow ':)'
149149
150150###### Games
151151
152- While the game commands are implemented, the controls don't take easy keyboard
153- input.
154- Instead try out the [ Python script ] ( ../python.md ) :
152+ While the game commands are implemented,
153+ the controls don't take easy keyboard input.
154+ Instead, try out the [ Python wrapper ] ( ../python ) :
155155
156156``` sh
157157# Snake
@@ -178,8 +178,8 @@ inputmodule-control led-matrix --start-game game-of-life --game-param current-ma
178178inputmodule-control led-matrix --start-game game-of-life --game-param glider
179179```
180180
181- If you want to display something else, either reset the module (unplugging) or
182- run the stop command.
181+ If you want to display something else, either reset the module (unplugging)
182+ or run the stop command.
183183
184184``` sh
185185inputmodule-control led-matrix --stop-game
@@ -190,9 +190,10 @@ inputmodule-control led-matrix --stop-game
190190Currently sleeping means all LEDs and the LED controller are turned off.
191191Transitions of sleep state slowly fade the LEDs on or off.
192192
193- Optionally the firmware can be configured, at build-time, to turn the LEDs
194- on/off immediately. Or display "SLEEP" instead of turning the LEDs off, which
195- is useful for debugging whether the device is sleeping or not powered.
193+ Optionally the firmware can be configured, at build-time,
194+ to turn the LEDs on/off immediately.
195+ Or display "SLEEP" instead of turning the LEDs off,
196+ which is useful for debugging whether the device is sleeping or not powered.
196197
197198
198199###### Changing Sleep State
@@ -209,8 +210,9 @@ What can change the sleep state
209210Both of the hardware/OS triggers change the sleep state if they transition from one state to another.
210211For example, if USB suspends, the LED matrix turns off. If it resumes, the LEDs come back on.
211212Same for the ` SLEEP# ` pin.
212- If either of them indicates sleep, even if they didn'td change state, the module goes to sleep.
213- If they're active, they don't influence module state. That way sleep state can be controlled by commands and isn't overridden immediately.
213+ If either of them indicates sleep, even if they didn't change state, the module goes to sleep.
214+ If they're active, they don't influence module state.
215+ That way sleep state can be controlled by commands and isn't overridden immediately.
214216
215217The sleep/wake command always changes the state. But it can't be received when USB is suspended.
216218Any other command will also wake up the device.
0 commit comments