File tree 3 files changed +42
-4
lines changed 3 files changed +42
-4
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "env" : {
3
+ "myDefaultIncludePath" : [
4
+ " ${workspaceFolder}" ,
5
+ " ${workspaceFolder}/**"
6
+ ]
7
+ },
8
+ "configurations" : [
9
+ {
10
+ "name" : " Mac" ,
11
+ "includePath" : [
12
+ " ${workspaceFolder}/**"
13
+ ],
14
+ "defines" : [],
15
+ "macFrameworkPath" : [
16
+ " /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks"
17
+ ],
18
+ "compilerPath" : " /usr/bin/clang" ,
19
+ "cStandard" : " c17" ,
20
+ "cppStandard" : " c++17" ,
21
+ "intelliSenseMode" : " macos-clang-x64" ,
22
+ "configurationProvider" : " ms-vscode.cmake-tools"
23
+ },
24
+ {
25
+ "name" : " Win32" ,
26
+ "includePath" : [
27
+ " ${workspaceFolder}\\ **" ,
28
+ " C:\\ Users\\ samom\\ esp\\ esp-idf\\ components\\ **"
29
+ ],
30
+ "defines" : []
31
+ }
32
+ ],
33
+ "version" : 4
34
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"files.associations" : {
3
- "flipdot.h" : " c"
3
+ "flipdot.h" : " c" ,
4
+ "freertos.h" : " c" ,
5
+ "core-macros.h" : " c" ,
6
+ "sdkconfig.h" : " c"
4
7
},
5
8
"idf.adapterTargetName" : " esp32" ,
6
9
"idf.espIdfPath" : " /Users/samomahony/esp/esp-idf" ,
23
26
" target/esp32.cfg"
24
27
],
25
28
"idf.portWin" : " COM4" ,
26
- "C_Cpp.default.compilerPath" : " c:\\ Users\\ samom\\ .espressif\\ tools\\ xtensa-esp32-elf\\ esp-12.2.0_20230208\\ xtensa-esp32-elf\\ bin\\ xtensa-esp32-elf-gcc-12.2.0.exe"
29
+ "C_Cpp.default.compilerPath" : " c:\\ Users\\ samom\\ .espressif\\ tools\\ xtensa-esp32-elf\\ esp-12.2.0_20230208\\ xtensa-esp32-elf\\ bin\\ xtensa-esp32-elf-gcc-12.2.0.exe" ,
30
+ "C_Cpp.formatting" : " clangFormat"
27
31
}
Original file line number Diff line number Diff line change @@ -30,14 +30,14 @@ void app_main()
30
30
gpio_set_direction (PIN_BUTTON , GPIO_MODE_INPUT );
31
31
32
32
// Initialise display
33
- flipdot_init ();
33
+ flipdot_init ();
34
34
35
35
// Initialise snake game
36
36
snake_init ();
37
37
38
38
// A clean board to write after mode changes
39
39
dotboard_t clean_board ;
40
- fill_off (& clean_board );
40
+ fill_on (& clean_board );
41
41
42
42
// Continually update the display
43
43
while (1 )
You can’t perform that action at this time.
0 commit comments