mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
doc/userled: Fix printf example
It is needed to escape \ itself. Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
This commit is contained in:
committed by
Alin Jerpelea
parent
9cf7d80bab
commit
508f0d4b73
@@ -29,7 +29,7 @@ Also is possible for users to control the LEDs from "nsh>" using the "printf" co
|
||||
.. code-block:: bash
|
||||
|
||||
NuttShell (NSH)
|
||||
nsh> printf \x000000a5 > /dev/userleds
|
||||
nsh> printf \\x000000a5 > /dev/userleds
|
||||
|
||||
This command will turn ON the LEDs mapped to bits 0, 2, 5 and 7.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user