






Started logging.

>>>
Content-Length: 3195

{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":14616,"clientInfo":{"name":"vscode","version":"1.53.2"},"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4279561812\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4279561812/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:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0055%29Mini%20DIY%20obstacle%20avoidance%20car/ZYC0055/Part2.0%20Module%20learning/code/motor","name":"motor"}]}}
<<<
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: 2477

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4279561812/sketch/motor.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}}}Content-Length: 309

{"jsonrpc":"2.0","id":"2","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4279561812/sketch/motor.ino.cpp"},"range":{"start":{"line":47,"character":25},"end":{"line":47,"character":25}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 188

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4279561812/.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: 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: 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":"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: 213

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

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

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

{"id":"3","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}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: 247

{"jsonrpc":"2.0","id":"4","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4279561812/sketch/motor.ino.cpp"},"position":{"line":35,"character":32}}}
<<<
Content-Length: 38

{"id":"4","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

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

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

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

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






Started logging.

>>>
Content-Length: 3193

{"jsonrpc":"2.0","id":"1","method":"initialize","params":{"processId":14616,"clientInfo":{"name":"vscode","version":"1.53.2"},"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server936776845\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/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:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0055%29Mini%20DIY%20obstacle%20avoidance%20car/ZYC0055/Part2.0%20Module%20learning/code/motor","name":"motor"}]}}
<<<
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: 2476

{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","languageId":"cpp","version":1,"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}}}Content-Length: 308

{"jsonrpc":"2.0","id":"2","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":35,"character":32},"end":{"line":35,"character":32}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 187

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/.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: 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: 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: 212

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

{"id":"2","jsonrpc":"2.0","result":[]}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: 308

{"jsonrpc":"2.0","id":"3","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":45,"character":25},"end":{"line":45,"character":25}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 38

{"id":"3","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 246

{"jsonrpc":"2.0","id":"4","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":34,"character":31}}}
<<<
Content-Length: 38

{"id":"4","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 308

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

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

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

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

{"jsonrpc":"2.0","id":"7","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":30,"character":20},"end":{"line":30,"character":20}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 38

{"id":"7","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":2},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}
<<<
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: 246

{"jsonrpc":"2.0","id":"8","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":37,"character":32}}}
<<<
Content-Length: 38

{"id":"8","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 308

{"jsonrpc":"2.0","id":"9","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":37,"character":32},"end":{"line":37,"character":32}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 38

{"id":"9","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 235

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

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

{"jsonrpc":"2.0","id":"11","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":40,"character":31}}}
<<<
Content-Length: 39

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

{"jsonrpc":"2.0","id":"12","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":36,"character":0},"end":{"line":40,"character":31}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 398

{"id":"12","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":31,"line":40},"start":{"character":0,"line":36}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}
>>>
Content-Length: 308

{"jsonrpc":"2.0","id":"13","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":35,"character":0},"end":{"line":40,"character":31}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 398

{"id":"13","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":31,"line":40},"start":{"character":0,"line":35}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}
>>>
Content-Length: 206

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

{"id":"14","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 768

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":8},"contentChanges":[{"range":{"start":{"line":40,"character":2},"end":{"line":40,"character":2}},"text":"// "},{"range":{"start":{"line":39,"character":2},"end":{"line":39,"character":2}},"text":"// "},{"range":{"start":{"line":38,"character":2},"end":{"line":38,"character":2}},"text":"// "},{"range":{"start":{"line":37,"character":2},"end":{"line":37,"character":2}},"text":"// "},{"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":2}},"text":"// "},{"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":2}},"text":"// "}]}}Content-Length: 206

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

{"id":"15","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 212

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":8}}
>>>
Content-Length: 308

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

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

{"jsonrpc":"2.0","id":"17","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":39,"character":34}}}
<<<
Content-Length: 39

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

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

{"id":"18","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":9},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 247

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

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

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":10},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}
<<<
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: 309

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

{"id":"20","jsonrpc":"2.0","result":[]}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: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":11},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\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: 309

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

{"id":"21","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

{"id":"22","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"23","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":38,"character":34}}}
<<<
Content-Length: 39

{"id":"23","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

{"id":"24","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"25","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":20}}}
<<<
Content-Length: 212

{"id":"25","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":44},"start":{"character":19,"line":44}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"26","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":21}}}
<<<
Content-Length: 212

{"id":"26","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":44},"start":{"character":19,"line":44}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"27","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 214

{"id":"27","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"28","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":19}}}
<<<
Content-Length: 214

{"id":"28","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"29","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":22}}}
<<<
Content-Length: 214

{"id":"29","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"30","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":17}}}
<<<
Content-Length: 322

{"id":"30","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `digitalWrite`  \n\n---\n→ `void`  \nParameters:  \n- `uint8_t pin`\n- `uint8_t val`\n\n---\n```cpp\nvoid digitalWrite(uint8_t pin, uint8_t val)\n```"},"range":{"end":{"character":17,"line":44},"start":{"character":15,"line":44}}}}
>>>
Content-Length: 235

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

{"id":"31","jsonrpc":"2.0","result":null}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"32","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":20}}}
<<<
Content-Length: 214

{"id":"32","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"33","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 39

{"id":"33","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"34","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":45,"character":19},"end":{"line":45,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"34","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"35","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":20}}}
<<<
Content-Length: 214

{"id":"35","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 240

{"jsonrpc":"2.0","id":"36","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 240

{"id":"36","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 247

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

{"id":"37","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":12},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\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: 309

{"jsonrpc":"2.0","id":"38","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":44,"character":19},"end":{"line":44,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 782

{"id":"38","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":44},"start":{"character":19,"line":44}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":44},"start":{"character":19,"line":44}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 206

{"jsonrpc":"2.0","id":"39","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"39","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 317

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":13},"contentChanges":[{"range":{"start":{"line":44,"character":19},"end":{"line":44,"character":22}},"text":"HIGH"}]}}Content-Length: 206

{"jsonrpc":"2.0","id":"40","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"40","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":13}}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"41","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":44,"character":23},"end":{"line":44,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 395

{"id":"41","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":44},"start":{"character":23,"line":44}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"42","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":22}}}
<<<
Content-Length: 212

{"id":"42","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"43","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":21}}}
<<<
Content-Length: 212

{"id":"43","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"44","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":21}}}
<<<
Content-Length: 39

{"id":"44","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"45","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":46,"character":19},"end":{"line":46,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 782

{"id":"45","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":14},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 235

{"jsonrpc":"2.0","id":"46","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":21}}}
<<<
Content-Length: 212

{"id":"46","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"47","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":47,"character":21}}}
<<<
Content-Length: 214

{"id":"47","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":47},"start":{"character":19,"line":47}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"48","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 214

{"id":"48","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"49","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 39

{"id":"49","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"50","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":45,"character":19},"end":{"line":45,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"50","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":45},"start":{"character":19,"line":45}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 206

{"jsonrpc":"2.0","id":"51","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"51","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 316

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":15},"contentChanges":[{"range":{"start":{"line":45,"character":19},"end":{"line":45,"character":23}},"text":"LOW"}]}}Content-Length: 206

{"jsonrpc":"2.0","id":"52","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
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: 3141

{"id":"52","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":15}}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"53","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":45,"character":22},"end":{"line":45,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 393

{"id":"53","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":45},"start":{"character":22,"line":45}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}
>>>
Content-Length: 309

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

{"id":"54","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"55","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":47,"character":22}}}
<<<
Content-Length: 214

{"id":"55","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":47},"start":{"character":19,"line":47}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"56","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":47,"character":21}}}
<<<
Content-Length: 39

{"id":"56","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"57","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":47,"character":19},"end":{"line":47,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"57","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":47},"start":{"character":19,"line":47}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":47},"start":{"character":19,"line":47}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":16},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 206

{"jsonrpc":"2.0","id":"58","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"58","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 316

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":17},"contentChanges":[{"range":{"start":{"line":47,"character":19},"end":{"line":47,"character":23}},"text":"LOW"}]}}Content-Length: 206

{"jsonrpc":"2.0","id":"59","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"59","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":17}}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"60","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":47,"character":22},"end":{"line":47,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 393

{"id":"60","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":47},"start":{"character":22,"line":47}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"61","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":20}}}
<<<
Content-Length: 212

{"id":"61","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"62","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":20}}}
<<<
Content-Length: 212

{"id":"62","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":45},"start":{"character":19,"line":45}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"63","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":20}}}
<<<
Content-Length: 214

{"id":"63","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":44},"start":{"character":19,"line":44}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"64","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":21}}}
<<<
Content-Length: 39

{"id":"64","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 240

{"jsonrpc":"2.0","id":"65","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":44,"character":21}}}
<<<
Content-Length: 240

{"id":"65","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"66","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":44,"character":19},"end":{"line":44,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"66","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":44},"start":{"character":19,"line":44}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":44},"start":{"character":19,"line":44}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 240

{"jsonrpc":"2.0","id":"67","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":45,"character":21}}}
<<<
Content-Length: 240

{"id":"67","jsonrpc":"2.0","result":[{"range":{"end":{"character":11,"line":40},"start":{"character":8,"line":40}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"68","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":20}}}
<<<
Content-Length: 212

{"id":"68","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}}}}
>>>
Content-Length: 247

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

{"id":"69","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 240

{"jsonrpc":"2.0","id":"70","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":46,"character":21}}}
<<<
Content-Length: 240

{"id":"70","jsonrpc":"2.0","result":[{"range":{"end":{"character":11,"line":40},"start":{"character":8,"line":40}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"71","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":46,"character":19},"end":{"line":46,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 782

{"id":"71","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":46},"start":{"character":19,"line":46}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 206

{"jsonrpc":"2.0","id":"72","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"72","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 317

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":18},"contentChanges":[{"range":{"start":{"line":46,"character":19},"end":{"line":46,"character":22}},"text":"HIGH"}]}}Content-Length: 206

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

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

{"jsonrpc":"2.0","id":6,"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: 3141

{"id":"73","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":18}}
>>>
Content-Length: 309

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

{"id":"74","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":19},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":20},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  // stop_it();          //Car stop\n  // delay(500);         //delayed\n  // reversal();         //Car back\n  // delay(tDelay);      //delayed\n  // stop_it();          //delayed\n  // delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}
<<<
Content-Length: 111

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

{"jsonrpc":"2.0","id":7,"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: 309

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

{"id":"75","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

{"id":"76","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

{"id":"77","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

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

{"id":"78","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"79","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":40,"character":34}}}
<<<
Content-Length: 39

{"id":"79","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 308

{"jsonrpc":"2.0","id":"80","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":36,"character":0},"end":{"line":40,"character":34}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"80","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 308

{"jsonrpc":"2.0","id":"81","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":35,"character":0},"end":{"line":40,"character":34}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 39

{"id":"81","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 206

{"jsonrpc":"2.0","id":"82","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"82","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 751

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":26},"contentChanges":[{"range":{"start":{"line":40,"character":2},"end":{"line":40,"character":5}},"text":""},{"range":{"start":{"line":39,"character":2},"end":{"line":39,"character":5}},"text":""},{"range":{"start":{"line":38,"character":2},"end":{"line":38,"character":5}},"text":""},{"range":{"start":{"line":37,"character":2},"end":{"line":37,"character":5}},"text":""},{"range":{"start":{"line":36,"character":2},"end":{"line":36,"character":5}},"text":""},{"range":{"start":{"line":35,"character":2},"end":{"line":35,"character":5}},"text":""}]}}Content-Length: 206

{"jsonrpc":"2.0","id":"83","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"83","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":26}}
>>>
Content-Length: 308

{"jsonrpc":"2.0","id":"84","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":35,"character":0},"end":{"line":40,"character":31}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 398

{"id":"84","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":31,"line":40},"start":{"character":0,"line":35}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}
>>>
Content-Length: 309

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

{"id":"85","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":27},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 247

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

{"id":"86","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"87","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":52,"character":19},"end":{"line":52,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 782

{"id":"87","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 247

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

{"id":"88","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 240

{"jsonrpc":"2.0","id":"89","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":51,"character":21}}}
<<<
Content-Length: 240

{"id":"89","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"90","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":51,"character":19},"end":{"line":51,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"90","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":51},"start":{"character":19,"line":51}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":51},"start":{"character":19,"line":51}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 206

{"jsonrpc":"2.0","id":"91","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3141

{"id":"91","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 316

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":28},"contentChanges":[{"range":{"start":{"line":51,"character":19},"end":{"line":51,"character":23}},"text":"LOW"}]}}Content-Length: 206

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

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

{"jsonrpc":"2.0","id":8,"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: 3141

{"id":"92","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":28}}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"93","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":51,"character":22},"end":{"line":51,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 393

{"id":"93","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":51},"start":{"character":22,"line":51}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"94","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":23}}}
<<<
Content-Length: 214

{"id":"94","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"95","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":22}}}
<<<
Content-Length: 214

{"id":"95","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 235

{"jsonrpc":"2.0","id":"96","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":21}}}
<<<
Content-Length: 214

{"id":"96","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 247

{"jsonrpc":"2.0","id":"97","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":21}}}
<<<
Content-Length: 39

{"id":"97","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 309

{"jsonrpc":"2.0","id":"98","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":53,"character":19},"end":{"line":53,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 784

{"id":"98","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":29},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 235

{"jsonrpc":"2.0","id":"99","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":21}}}
<<<
Content-Length: 212

{"id":"99","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":54},"start":{"character":19,"line":54}}}}
>>>
Content-Length: 248

{"jsonrpc":"2.0","id":"100","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":21}}}
<<<
Content-Length: 40

{"id":"100","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":"101","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":21}}}
<<<
Content-Length: 241

{"id":"101","jsonrpc":"2.0","result":[{"range":{"end":{"character":11,"line":40},"start":{"character":8,"line":40}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"102","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":54,"character":19},"end":{"line":54,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 783

{"id":"102","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":54},"start":{"character":19,"line":54}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":54},"start":{"character":19,"line":54}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 207

{"jsonrpc":"2.0","id":"103","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3142

{"id":"103","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 317

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":30},"contentChanges":[{"range":{"start":{"line":54,"character":19},"end":{"line":54,"character":22}},"text":"HIGH"}]}}Content-Length: 207

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

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

{"jsonrpc":"2.0","id":9,"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: 3142

{"id":"104","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":30}}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"105","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":54,"character":23},"end":{"line":54,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 396

{"id":"105","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":54},"start":{"character":23,"line":54}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"106","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":22}}}
<<<
Content-Length: 215

{"id":"106","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":31},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, HIGH);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}Content-Length: 236

{"jsonrpc":"2.0","id":"107","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":22}}}
<<<
Content-Length: 213

{"id":"107","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}}}}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"108","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":20}}}
<<<
Content-Length: 213

{"id":"108","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}}}}
>>>
Content-Length: 248

{"jsonrpc":"2.0","id":"109","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":21}}}
<<<
Content-Length: 40

{"id":"109","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"110","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":52,"character":19},"end":{"line":52,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 783

{"id":"110","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":"111","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":21}}}
<<<
Content-Length: 241

{"id":"111","jsonrpc":"2.0","result":[{"range":{"end":{"character":11,"line":40},"start":{"character":8,"line":40}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"112","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":22}}}
<<<
Content-Length: 213

{"id":"112","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}}}}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":"113","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":22}}}
<<<
Content-Length: 241

{"id":"113","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"114","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":22}}}
<<<
Content-Length: 215

{"id":"114","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 248

{"jsonrpc":"2.0","id":"115","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":21}}}
<<<
Content-Length: 40

{"id":"115","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":32},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, HIGH);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}
<<<
Content-Length: 112

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

{"jsonrpc":"2.0","id":10,"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: 241

{"jsonrpc":"2.0","id":"116","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":21}}}
<<<
Content-Length: 241

{"id":"116","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 207

{"jsonrpc":"2.0","id":"117","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3142

{"id":"117","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 316

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":33},"contentChanges":[{"range":{"start":{"line":53,"character":19},"end":{"line":53,"character":23}},"text":"LOW"}]}}Content-Length: 207

{"jsonrpc":"2.0","id":"118","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3142

{"id":"118","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":33}}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"119","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":53,"character":22},"end":{"line":53,"character":22}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 394

{"id":"119","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":22,"line":53},"start":{"character":22,"line":53}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"120","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":53,"character":24},"end":{"line":53,"character":24}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 40

{"id":"120","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"121","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":21}}}
<<<
Content-Length: 215

{"id":"121","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":54},"start":{"character":19,"line":54}}}}
>>>
Content-Length: 248

{"jsonrpc":"2.0","id":"122","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":22}}}
<<<
Content-Length: 40

{"id":"122","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":"123","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":22}}}
<<<
Content-Length: 241

{"id":"123","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"124","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":54,"character":19},"end":{"line":54,"character":23}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 785

{"id":"124","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":54},"start":{"character":19,"line":54}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"},{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","selection":{"end":{"character":23,"line":54},"start":{"character":19,"line":54}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"125","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":54,"character":21}}}
<<<
Content-Length: 215

{"id":"125","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":23,"line":54},"start":{"character":19,"line":54}}}}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"126","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":53,"character":21}}}
<<<
Content-Length: 213

{"id":"126","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":53},"start":{"character":19,"line":53}}}}
>>>
Content-Length: 236

{"jsonrpc":"2.0","id":"127","method":"textDocument/hover","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":21}}}
<<<
Content-Length: 213

{"id":"127","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":22,"line":52},"start":{"character":19,"line":52}}}}
>>>
Content-Length: 248

{"jsonrpc":"2.0","id":"128","method":"textDocument/documentHighlight","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":21}}}
<<<
Content-Length: 40

{"id":"128","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 207

{"jsonrpc":"2.0","id":"129","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3142

{"id":"129","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}
>>>
Content-Length: 317

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":34},"contentChanges":[{"range":{"start":{"line":52,"character":19},"end":{"line":52,"character":22}},"text":"HIGH"}]}}Content-Length: 207

{"jsonrpc":"2.0","id":"130","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"}}}
<<<
Content-Length: 3142

{"id":"130","jsonrpc":"2.0","result":[{"detail":"int","kind":13,"name":"tDelay","range":{"end":{"character":17,"line":3},"start":{"character":0,"line":3}},"selectionRange":{"end":{"character":10,"line":3},"start":{"character":4,"line":3}}},{"detail":"int","kind":13,"name":"D1","range":{"end":{"character":10,"line":4},"start":{"character":0,"line":4}},"selectionRange":{"end":{"character":6,"line":4},"start":{"character":4,"line":4}}},{"detail":"int","kind":13,"name":"D2","range":{"end":{"character":10,"line":5},"start":{"character":0,"line":5}},"selectionRange":{"end":{"character":6,"line":5},"start":{"character":4,"line":5}}},{"detail":"int","kind":13,"name":"D3","range":{"end":{"character":10,"line":6},"start":{"character":0,"line":6}},"selectionRange":{"end":{"character":6,"line":6},"start":{"character":4,"line":6}}},{"detail":"int","kind":13,"name":"D4","range":{"end":{"character":11,"line":7},"start":{"character":0,"line":7}},"selectionRange":{"end":{"character":6,"line":7},"start":{"character":4,"line":7}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":10,"line":11},"start":{"character":5,"line":11}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":13},"start":{"character":0,"line":13}},"selectionRange":{"end":{"character":9,"line":13},"start":{"character":5,"line":13}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":23,"line":15},"start":{"character":0,"line":15}},"selectionRange":{"end":{"character":21,"line":15},"start":{"character":5,"line":15}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":15,"line":17},"start":{"character":0,"line":17}},"selectionRange":{"end":{"character":13,"line":17},"start":{"character":5,"line":17}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":14,"line":19},"start":{"character":0,"line":19}},"selectionRange":{"end":{"character":12,"line":19},"start":{"character":5,"line":19}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":28},"start":{"character":0,"line":21}},"selectionRange":{"end":{"character":10,"line":21},"start":{"character":5,"line":21}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":41},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":9,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"Forward_rotation","range":{"end":{"character":1,"line":48},"start":{"character":0,"line":42}},"selectionRange":{"end":{"character":21,"line":42},"start":{"character":5,"line":42}}},{"detail":"void ()","kind":12,"name":"reversal","range":{"end":{"character":1,"line":55},"start":{"character":0,"line":49}},"selectionRange":{"end":{"character":13,"line":49},"start":{"character":5,"line":49}}},{"detail":"void ()","kind":12,"name":"stop_it","range":{"end":{"character":1,"line":62},"start":{"character":0,"line":56}},"selectionRange":{"end":{"character":12,"line":56},"start":{"character":5,"line":56}}}]}Content-Length: 213

{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":34}}
>>>
Content-Length: 241

{"jsonrpc":"2.0","id":"131","method":"textDocument/definition","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"position":{"line":52,"character":21}}}
<<<
Content-Length: 241

{"id":"131","jsonrpc":"2.0","result":[{"range":{"end":{"character":12,"line":39},"start":{"character":8,"line":39}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}
>>>
Content-Length: 310

{"jsonrpc":"2.0","id":"132","method":"textDocument/codeAction","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp"},"range":{"start":{"line":52,"character":25},"end":{"line":52,"character":25}},"context":{"diagnostics":[]}}}
<<<
Content-Length: 40

{"id":"132","jsonrpc":"2.0","result":[]}
>>>
Content-Length: 189

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

{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server936776845/sketch/motor.ino.cpp","version":35},"contentChanges":[{"text":"#include \u003cArduino.h\u003e\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\n//Line order test function of trolley wheel\nint tDelay = 3000; //The delay time is 3S\nint D1 = 5;      // Definition of IO port\nint D2 = 6;       \nint D3 = 9;      \nint D4 = 10;      \n\n//Function initialization\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup();\n#line 19 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid loop();\n#line 30 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid Forward_rotation();\n#line 37 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid reversal();\n#line 44 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid stop_it();\n#line 9 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0055)Mini DIY obstacle avoidance car\\\\ZYC0055\\\\Part2.0 Module learning\\\\code\\\\motor\\\\motor.ino\"\nvoid setup() \n{\n  pinMode(D1, OUTPUT);\n  pinMode(D2, OUTPUT); \n  pinMode(D3, OUTPUT);\n  pinMode(D4, OUTPUT);  \n\n}\n\n//Principal function\nvoid loop() \n{\n  Forward_rotation(); //Car forward\n  delay(tDelay);      //delayed\n  stop_it();          //Car stop\n  delay(500);         //delayed\n  reversal();         //Car back\n  delay(tDelay);      //delayed\n  stop_it();          //delayed\n  delay(500);         //delayed\n}\nvoid Forward_rotation()\n{\n  digitalWrite(D1, HIGH);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, HIGH);\n  digitalWrite(D4, LOW);\n}\nvoid reversal()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, HIGH);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, HIGH);\n}\nvoid stop_it()\n{\n  digitalWrite(D1, LOW);\n  digitalWrite(D2, LOW);\n  digitalWrite(D3, LOW);\n  digitalWrite(D4, LOW);\n}\n\n"}]}}
<<<
Content-Length: 112

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

{"jsonrpc":"2.0","id":11,"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: 62

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

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

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