File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Documentation/platforms/xtensa/esp32/boards/esp32-devkitc Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -928,6 +928,22 @@ The apps/testing/smp test is included::
928
928
CONFIG_TESTING_SMP_PRIORITY=100
929
929
CONFIG_TESTING_SMP_STACKSIZE=2048
930
930
931
+ snake
932
+ -----
933
+
934
+ This configuration enables snake game using led matrix (ws2812) and gpio pins.
935
+ Alternatively, you can use serial console for input with enabling `GAMES_SNAKE_USE_CONSOLEKEY `
936
+ option.
937
+
938
+ You can run the game by using ``snake `` command::
939
+
940
+ nsh> snake
941
+
942
+ Here is the sample wiring diagram that demonstrates how to wire ws2812 with buttons for snake example:
943
+
944
+ .. figure :: esp32-brickmatch-game-schematic.jpg
945
+ :align: center
946
+
931
947
sotest
932
948
------
933
949
You can’t perform that action at this time.
0 commit comments