






Started logging.

>>>
Content-Length: 3233

{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":13004,"clientInfo":{"name":"vscode","version":"1.53.2"},"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4028959764\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch","initializationOptions":{},"capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"colorProvider":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"trace":"off","workspaceFolders":[{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYA0008%E8%9C%82%E9%B8%A3%E5%99%A8%E7%AD%89%E7%AD%89%E4%BC%A0%E6%84%9F%E5%99%A8/Code/Lesson%205_Active_buzzer/5_Active_buzzer","name":"5_Active_buzzer"}]}}
<<<
Content-Length: 1905

{"id":"1","jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.0 windows x86_64-pc-windows-msvc"}}}
>>>
Content-Length: 52

{"jsonrpc":"2.0","method":"initialized","params":{}}Content-Length: 1460

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}}}
<<<
Content-Length: 188

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/.clangd"}}
>>>
Content-Length: 319

{"jsonrpc":"2.0","id":"2","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":21,"character":11},"end":{"line":21,"character":11}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 111

{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":0,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":1}}Content-Length: 38

{"id":"2","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 216

{"jsonrpc":"2.0","id":"3","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1272

{"id":"3","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
>>>
Content-Length: 244

{"jsonrpc":"2.0","id":"4","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":16,"character":6}}}
<<<
Content-Length: 40

{"id":"4","jsonrpc":"2.0","result":null}
>>>
Content-Length: 256

{"jsonrpc":"2.0","id":"5","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":16,"character":6}}}
<<<
Content-Length: 38

{"id":"5","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 317

{"jsonrpc":"2.0","id":"6","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 435

{"id":"6","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","selection":{"end":{"character":7,"line":16},"start":{"character":5,"line":16}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 216

{"jsonrpc":"2.0","id":"7","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1272

{"id":"7","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 322

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":2},"contentChanges":[{"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"text":"1"}]}}Content-Length: 216

{"jsonrpc":"2.0","id":"8","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1272

{"id":"8","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":2}}
>>>
Content-Length: 216

{"jsonrpc":"2.0","id":"9","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1272

{"id":"9","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 322

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":3},"contentChanges":[{"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":6}},"text":"4"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"10","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"10","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":3}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"11","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":7},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"11","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 200

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1464

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":4},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(14, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"12","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"12","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 323

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":5},"contentChanges":[{"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"text":"12"}]}}
<<<
Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":5}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"13","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 436

{"id":"13","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","selection":{"end":{"character":7,"line":16},"start":{"character":5,"line":16}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 217

{"jsonrpc":"2.0","id":"14","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"14","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 322

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":6},"contentChanges":[{"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"text":"1"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"15","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 111

{"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":1,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 1273

{"id":"15","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":6}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"16","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":6}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"16","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 217

{"jsonrpc":"2.0","id":"17","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"17","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 322

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":7},"contentChanges":[{"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":6}},"text":"4"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"18","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"18","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":7}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"19","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":7},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"19","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 200

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1464

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":8},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(14, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}Content-Length: 245

{"jsonrpc":"2.0","id":"20","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":16,"character":7}}}
<<<
Content-Length: 446

{"id":"20","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `tone`  \n\n---\n→ `void`  \nParameters:  \n- `uint8_t _pin`\n- `unsigned int frequency`\n- `unsigned long duration = 0`\n\nfrequency (in hertz) and duration (in milliseconds).  \n\n---\n```cpp\nvoid tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0)\n```"},"range":{"end":{"character":8,"line":16},"start":{"character":7,"line":16}}}}
>>>
Content-Length: 257

{"jsonrpc":"2.0","id":"21","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":16,"character":7}}}
<<<
Content-Length: 125

{"id":"21","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":4,"line":16},"start":{"character":0,"line":16}}}]}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"22","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 436

{"id":"22","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","selection":{"end":{"character":7,"line":16},"start":{"character":6,"line":16}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 245

{"jsonrpc":"2.0","id":"23","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":16,"character":5}}}
<<<
Content-Length: 41

{"id":"23","jsonrpc":"2.0","result":null}
>>>
Content-Length: 217

{"jsonrpc":"2.0","id":"24","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"24","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 322

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":9},"contentChanges":[{"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":7}},"text":"2"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"25","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 111

{"id":2,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}Content-Length: 1273

{"id":"25","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 2104

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":9}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"26","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":7},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"26","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 258

{"jsonrpc":"2.0","id":"27","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":20,"character":19}}}
<<<
Content-Length: 39

{"id":"27","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 320

{"jsonrpc":"2.0","id":"28","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":20,"character":19},"end":{"line":20,"character":19}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"28","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 251

{"jsonrpc":"2.0","id":"29","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":20,"character":19}}}
<<<
Content-Length: 39

{"id":"29","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 217

{"jsonrpc":"2.0","id":"30","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"30","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 323

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":10},"contentChanges":[{"range":{"start":{"line":16,"character":6},"end":{"line":16,"character":7}},"text":"4"}]}}Content-Length: 217

{"jsonrpc":"2.0","id":"31","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 2105

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":10}}Content-Length: 1273

{"id":"31","jsonrpc":"2.0","result":[{"detail":"int[]","kind":13,"name":"melody","range":{"end":{"character":12,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 324

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":11},"contentChanges":[{"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"text":"12"}]}}
<<<
Content-Length: 2105

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"pp_file_not_found","message":"'pitches.h' file not found","range":{"end":{"character":20,"line":3},"start":{"character":9,"line":3}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C5'","range":{"end":{"character":7,"line":5},"start":{"character":0,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_D5'","range":{"end":{"character":16,"line":5},"start":{"character":9,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_E5'","range":{"end":{"character":25,"line":5},"start":{"character":18,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_F5'","range":{"end":{"character":34,"line":5},"start":{"character":27,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_G5'","range":{"end":{"character":43,"line":5},"start":{"character":36,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_A5'","range":{"end":{"character":52,"line":5},"start":{"character":45,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_B5'","range":{"end":{"character":61,"line":5},"start":{"character":54,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"},{"code":"undeclared_var_use","message":"Use of undeclared identifier 'NOTE_C6'","range":{"end":{"character":70,"line":5},"start":{"character":63,"line":5}},"relatedInformation":[],"severity":1,"source":"clang"}],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":11}}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"32","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":16,"character":5},"end":{"line":16,"character":7}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 436

{"id":"32","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","selection":{"end":{"character":7,"line":16},"start":{"character":5,"line":16}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 200

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1465

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":12},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}
<<<
Content-Length: 111

{"id":3,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":3,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
>>>
Content-Length: 246

{"jsonrpc":"2.0","id":"33","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":12,"character":11}}}
<<<
Content-Length: 41

{"id":"33","jsonrpc":"2.0","result":null}
>>>
Content-Length: 200

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1465

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":13},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}
<<<
Content-Length: 111

{"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":4,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
>>>
Content-Length: 200

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1465

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp","version":14},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}
<<<
Content-Length: 111

{"id":5,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":5,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
>>>
Content-Length: 320

{"jsonrpc":"2.0","id":"34","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":21,"character":11},"end":{"line":21,"character":11}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"34","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 318

{"jsonrpc":"2.0","id":"35","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":22,"character":1},"end":{"line":22,"character":1}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"35","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 245

{"jsonrpc":"2.0","id":"36","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4028959764/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":3,"character":34}}}
<<<
Content-Length: 41

{"id":"36","jsonrpc":"2.0","result":null}
>>>
Content-Length: 61

{"jsonrpc":"2.0","id":"37","method":"shutdown","params":null}
<<<
Content-Length: 41

{"id":"37","jsonrpc":"2.0","result":null}
>>>
Content-Length: 47

{"jsonrpc":"2.0","method":"exit","params":null}






Started logging.

>>>
Content-Length: 3230

{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":8684,"clientInfo":{"name":"vscode","version":"1.53.2"},"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server687930420\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch","initializationOptions":{},"capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"executeCommand":{"dynamicRegistration":true},"workspaceFolders":true,"configuration":true},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"contextSupport":true},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}},"contextSupport":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true},"codeAction":{"dynamicRegistration":true,"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"colorProvider":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"selectionRange":{"dynamicRegistration":true}},"window":{"workDoneProgress":true}},"trace":"off","workspaceFolders":[{"uri":"file:///g%3A/11.ZhiYi/5.Tutorial/1.tutorial/ZYA0008%E8%9C%82%E9%B8%A3%E5%99%A8%E7%AD%89%E7%AD%89%E4%BC%A0%E6%84%9F%E5%99%A8/Code/Lesson%205_Active_buzzer/5_Active_buzzer","name":"5_Active_buzzer"}]}}
<<<
Content-Length: 1905

{"id":"1","jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"allCommitCharacters":[" ","\t","(",")","[","]","{","}","<",">",":",";",",","+","-","/","*","%","^","&","#","?",".","=","\"","'","|"],"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 14.0.0 windows x86_64-pc-windows-msvc"}}}
>>>
Content-Length: 52

{"jsonrpc":"2.0","method":"initialized","params":{}}Content-Length: 1459

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}}}
<<<
Content-Length: 187

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/.clangd"}}Content-Length: 111

{"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
>>>
Content-Length: 38

{"jsonrpc":"2.0","id":0,"result":null}
<<<
Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}Content-Length: 141

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
>>>
Content-Length: 2608

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/pitches.h","languageId":"cpp","version":1,"text":"#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\pitches.h\"\n/*************************************************\r\n* Public Constants\r\n*************************************************/\r\n\r\n#define NOTE_B0 31\r\n#define NOTE_C1 33\r\n#define NOTE_CS1 35\r\n#define NOTE_D1 37\r\n#define NOTE_DS1 39\r\n#define NOTE_E1 41\r\n#define NOTE_F1 44\r\n#define NOTE_FS1 46\r\n#define NOTE_G1 49\r\n#define NOTE_GS1 52\r\n#define NOTE_A1 55\r\n#define NOTE_AS1 58\r\n#define NOTE_B1 62\r\n#define NOTE_C2 65\r\n#define NOTE_CS2 69\r\n#define NOTE_D2 73\r\n#define NOTE_DS2 78\r\n#define NOTE_E2 82\r\n#define NOTE_F2 87\r\n#define NOTE_FS2 93\r\n#define NOTE_G2 98\r\n#define NOTE_GS2 104\r\n#define NOTE_A2 110\r\n#define NOTE_AS2 117\r\n#define NOTE_B2 123\r\n#define NOTE_C3 131\r\n#define NOTE_CS3 139\r\n#define NOTE_D3 147\r\n#define NOTE_DS3 156\r\n#define NOTE_E3 165\r\n#define NOTE_F3 175\r\n#define NOTE_FS3 185\r\n#define NOTE_G3 196\r\n#define NOTE_GS3 208\r\n#define NOTE_A3 220\r\n#define NOTE_AS3 233\r\n#define NOTE_B3 247\r\n#define NOTE_C4 262\r\n#define NOTE_CS4 277\r\n#define NOTE_D4 294\r\n#define NOTE_DS4 311\r\n#define NOTE_E4 330\r\n#define NOTE_F4 349\r\n#define NOTE_FS4 370\r\n#define NOTE_G4 392\r\n#define NOTE_GS4 415\r\n#define NOTE_A4 440\r\n#define NOTE_AS4 466\r\n#define NOTE_B4 494\r\n#define NOTE_C5 523\r\n#define NOTE_CS5 554\r\n#define NOTE_D5 587\r\n#define NOTE_DS5 622\r\n#define NOTE_E5 659\r\n#define NOTE_F5 698\r\n#define NOTE_FS5 740\r\n#define NOTE_G5 784\r\n#define NOTE_GS5 831\r\n#define NOTE_A5 880\r\n#define NOTE_AS5 932\r\n#define NOTE_B5 988\r\n#define NOTE_C6 1047\r\n#define NOTE_CS6 1109\r\n#define NOTE_D6 1175\r\n#define NOTE_DS6 1245\r\n#define NOTE_E6 1319\r\n#define NOTE_F6 1397\r\n#define NOTE_FS6 1480\r\n#define NOTE_G6 1568\r\n#define NOTE_GS6 1661\r\n#define NOTE_A6 1760\r\n#define NOTE_AS6 1865\r\n#define NOTE_B6 1976\r\n#define NOTE_C7 2093\r\n#define NOTE_CS7 2217\r\n#define NOTE_D7 2349\r\n#define NOTE_DS7 2489\r\n#define NOTE_E7 2637\r\n#define NOTE_F7 2794\r\n#define NOTE_FS7 2960\r\n#define NOTE_G7 3136\r\n#define NOTE_GS7 3322\r\n#define NOTE_A7 3520\r\n#define NOTE_AS7 3729\r\n#define NOTE_B7 3951\r\n#define NOTE_C8 4186\r\n#define NOTE_CS8 4435\r\n#define NOTE_D8 4699\r\n#define NOTE_DS8 4978\r\n"}}}Content-Length: 300

{"jsonrpc":"2.0","id":"2","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/pitches.h"},"range":{"start":{"line":1,"character":0},"end":{"line":1,"character":0}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}Content-Length: 208

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/pitches.h","version":1}}Content-Length: 38

{"id":"2","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 215

{"jsonrpc":"2.0","id":"3","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 222

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp","version":1}}Content-Length: 1273

{"id":"3","jsonrpc":"2.0","result":[{"detail":"int[8]","kind":13,"name":"melody","range":{"end":{"character":71,"line":5},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}Content-Length: 142

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}
>>>
Content-Length: 244

{"jsonrpc":"2.0","id":"4","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":13,"character":10}}}
<<<
Content-Length: 40

{"id":"4","jsonrpc":"2.0","result":null}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 143

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}Content-Length: 144

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}Content-Length: 107

{"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
>>>
Content-Length: 199

{"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"}}}Content-Length: 1463

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp","version":2},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\n\n#include \"pitches.h\"// notes in the melody:\nint melody[] = {\nNOTE_C5, NOTE_D5, NOTE_E5, NOTE_F5, NOTE_G5, NOTE_A5, NOTE_B5, NOTE_C6};\nint duration = 500;  // 500 miliseconds \n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup();\n#line 7 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid loop();\n#line 6 \"G:\\\\11.ZhiYi\\\\5.Tutorial\\\\1.tutorial\\\\ZYA0008蜂鸣器等等传感器\\\\Code\\\\Lesson 5_Active_buzzer\\\\5_Active_buzzer\\\\5_Active_buzzer.ino\"\nvoid setup() {  }\nvoid loop() {\nfor (int thisNote = 0; thisNote \u003c 12; thisNote++) {\n// pin12 output the voice, every scale is 0.5 sencond \ntone(12, melody[thisNote], duration);\ndelay(100);\n// Output the voice after several minutes\ndelay(100);\n} // restart after two seconds \ndelay(200);\n}\n\n"}]}}
<<<
Content-Length: 208

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/pitches.h","version":1}}
>>>
Content-Length: 244

{"jsonrpc":"2.0","id":"5","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":13,"character":13}}}
<<<
Content-Length: 40

{"id":"5","jsonrpc":"2.0","result":null}
>>>
Content-Length: 201

{"jsonrpc":"2.0","id":"6","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/pitches.h"}}}
<<<
Content-Length: 38

{"id":"6","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 215

{"jsonrpc":"2.0","id":"7","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"}}}
<<<
Content-Length: 1273

{"id":"7","jsonrpc":"2.0","result":[{"detail":"int[8]","kind":13,"name":"melody","range":{"end":{"character":71,"line":5},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":10,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"duration","range":{"end":{"character":18,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":12,"line":6},"start":{"character":4,"line":6}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":10,"line":8},"start":{"character":5,"line":8}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":9,"line":10},"start":{"character":5,"line":10}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":17,"line":12},"start":{"character":0,"line":12}},"selectionRange":{"end":{"character":10,"line":12},"start":{"character":5,"line":12}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":22},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}}]}
>>>
Content-Length: 244

{"jsonrpc":"2.0","id":"8","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":15,"character":17}}}
<<<
Content-Length: 40

{"id":"8","jsonrpc":"2.0","result":null}
>>>
Content-Length: 244

{"jsonrpc":"2.0","id":"9","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":14,"character":16}}}
<<<
Content-Length: 268

{"id":"9","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `thisNote`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\n// In loop\nint thisNote = 0\n```"},"range":{"end":{"character":17,"line":14},"start":{"character":9,"line":14}}}}
>>>
Content-Length: 245

{"jsonrpc":"2.0","id":"10","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":12,"character":14}}}
<<<
Content-Length: 41

{"id":"10","jsonrpc":"2.0","result":null}
>>>
Content-Length: 317

{"jsonrpc":"2.0","id":"11","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":22,"character":1},"end":{"line":22,"character":1}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"11","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 316

{"jsonrpc":"2.0","id":"12","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":3,"character":0},"end":{"line":22,"character":1}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"12","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 245

{"jsonrpc":"2.0","id":"13","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":14,"character":13}}}
<<<
Content-Length: 269

{"id":"13","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `thisNote`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\n// In loop\nint thisNote = 0\n```"},"range":{"end":{"character":17,"line":14},"start":{"character":9,"line":14}}}}
>>>
Content-Length: 245

{"jsonrpc":"2.0","id":"14","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":13,"character":13}}}
<<<
Content-Length: 41

{"id":"14","jsonrpc":"2.0","result":null}
>>>
Content-Length: 250

{"jsonrpc":"2.0","id":"15","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":15,"character":17}}}
<<<
Content-Length: 39

{"id":"15","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 250

{"jsonrpc":"2.0","id":"16","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"position":{"line":18,"character":26}}}
<<<
Content-Length: 39

{"id":"16","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 319

{"jsonrpc":"2.0","id":"17","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server687930420/sketch/5_Active_buzzer.ino.cpp"},"range":{"start":{"line":21,"character":11},"end":{"line":21,"character":11}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"17","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 61

{"jsonrpc":"2.0","id":"18","method":"shutdown","params":null}
<<<
Content-Length: 41

{"id":"18","jsonrpc":"2.0","result":null}
>>>
Content-Length: 47

{"jsonrpc":"2.0","method":"exit","params":null}