






Started logging.
I[14:28:03.973] clangd version 14.0.0
I[14:28:03.974] Features: windows
I[14:28:03.974] PID: 6716
I[14:28:03.974] Working directory: e:\5-教程\1.tutorial\ZYC0068四循小车教程\新写的教程综合\3_代码\HC-SR04
I[14:28:03.974] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[14:28:03.974] argv[1]: -log=verbose
I[14:28:03.974] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:28:03.974] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[14:28:03.979] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[14:28:03.979] Starting LSP over stdin/stdout
V[14:28:03.979] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":17616,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch","trace":"off","workspaceFolders":[{"name":"HC-SR04","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0068%E5%9B%9B%E5%BE%AA%E5%B0%8F%E8%BD%A6%E6%95%99%E7%A8%8B/%E6%96%B0%E5%86%99%E7%9A%84%E6%95%99%E7%A8%8B%E7%BB%BC%E5%90%88/3_%E4%BB%A3%E7%A0%81/HC-SR04"}]}}

I[14:28:03.979] <-- initialize("1")
I[14:28:04.000] --> reply:initialize("1") 20 ms
V[14:28:04.000] >>> {"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"}}}

V[14:28:04.000] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[14:28:04.000] <-- initialized
V[14:28:04.003] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":1}}}

I[14:28:04.003] <-- textDocument/didOpen
V[14:28:04.004] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:04.004] <-- textDocument/documentSymbol("2")
V[14:28:04.005] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\.clangd:1:0: Parsing config fragment
V[14:28:04.005] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\.clangd:1:0: Parsed 1 fragments from file
V[14:28:04.005] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\.clangd:1 -> 0x00000225E9064A20 (trusted=false)
I[14:28:04.005] --> textDocument/publishDiagnostics
V[14:28:04.005] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/.clangd"}}

I[14:28:04.006] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\compile_commands.json
V[14:28:04.006] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:28:04.007] --> window/workDoneProgress/create(0)
V[14:28:04.007] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:28:04.007] Enqueueing 25 commands for indexing
V[14:28:04.007] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[14:28:04.007] <-- reply(0)
I[14:28:04.007] --> $/progress
V[14:28:04.007] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:28:04.007] --> $/progress
V[14:28:04.007] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:28:04.007] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[14:28:04.007] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[14:28:04.007] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[14:28:04.007] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[14:28:04.007] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[14:28:04.008] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/26","percentage":0}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3}}}

I[14:28:04.011] --> $/progress
V[14:28:04.011] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3}}}

I[14:28:04.012] --> $/progress
V[14:28:04.012] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/26","percentage":3}}}

V[14:28:04.041] System include extraction: target extracted: "avr"
V[14:28:04.041] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.041] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.041] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.041] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[14:28:04.041] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 1 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:28:04.043] System include extraction: target extracted: "avr"
V[14:28:04.043] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.043] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.043] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.043] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.044] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
V[14:28:04.047] System include extraction: target extracted: "avr"
V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.047] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.047] System include extraction: target extracted: "avr"
V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.047] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.047] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.048] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
V[14:28:04.049] System include extraction: target extracted: "avr"
V[14:28:04.049] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.049] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.049] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.049] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.049] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[14:28:04.051] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:28:04.051] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 1
V[14:28:04.051] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
V[14:28:04.053] System include extraction: target extracted: "avr"
V[14:28:04.053] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.053] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.053] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.053] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.054] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[14:28:04.054] System include extraction: target extracted: "avr"
V[14:28:04.054] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:04.055] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:04.057] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:04.057] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:04.058] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[14:28:04.076] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[14:28:04.078] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
I[14:28:04.097] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (310 symbols, 2729 refs, 25 files)
I[14:28:04.097] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (310 symbols, 2898 refs, 25 files)
I[14:28:04.102] --> $/progress
V[14:28:04.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/26","percentage":7}}}

I[14:28:04.102] --> $/progress
V[14:28:04.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/26","percentage":7}}}

V[14:28:04.103] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
V[14:28:04.110] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 2529 symbols, 722462 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
V[14:28:04.137] Build dynamic index for header symbols with estimated memory usage of 2176682 bytes
V[14:28:04.138] Built preamble of size 432588 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 1
V[14:28:04.163] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:28:04.163] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[14:28:04.163] --> textDocument/publishDiagnostics
V[14:28:04.163] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":1}}

V[14:28:04.164] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:04.165] --> reply:textDocument/documentSymbol("2") 161 ms
V[14:28:04.165] >>> {"id":"2","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[14:28:04.176] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[14:28:04.177] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[14:28:04.189] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (558 symbols, 3441 refs, 37 files)
I[14:28:04.190] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (602 symbols, 3499 refs, 37 files)
I[14:28:04.193] --> $/progress
V[14:28:04.193] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/26","percentage":11}}}

I[14:28:04.193] --> $/progress
V[14:28:04.193] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/26","percentage":11}}}

V[14:28:04.195] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
I[14:28:04.204] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (602 symbols, 3517 refs, 37 files)
I[14:28:04.204] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[14:28:04.252] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (554 symbols, 3478 refs, 35 files)
I[14:28:04.588] --> $/progress
V[14:28:04.588] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/26","percentage":15}}}

I[14:28:04.588] --> $/progress
V[14:28:04.588] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/26","percentage":15}}}

V[14:28:04.588] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp (digest:=7747668C86F59B36)
I[14:28:04.642] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp (354 symbols, 3141 refs, 37 files)
I[14:28:04.648] --> $/progress
V[14:28:04.648] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/26","percentage":19}}}

I[14:28:04.648] --> $/progress
V[14:28:04.648] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/26","percentage":19}}}

V[14:28:04.648] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[14:28:04.658] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[14:28:04.683] --> $/progress
V[14:28:04.683] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/26","percentage":23}}}

I[14:28:04.683] --> $/progress
V[14:28:04.684] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/26","percentage":23}}}

V[14:28:04.689] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[14:28:04.750] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (264 symbols, 2980 refs, 35 files)
V[14:28:04.851] BackgroundIndex: building version 1 after indexing enough files
V[14:28:04.859] BackgroundIndex: serving version 1 (1474770 bytes)
I[14:28:04.860] --> $/progress
V[14:28:04.860] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/26","percentage":26}}}

I[14:28:04.860] --> $/progress
V[14:28:04.860] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/26","percentage":26}}}

V[14:28:04.860] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[14:28:04.920] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (520 symbols, 3475 refs, 38 files)
I[14:28:05.018] --> $/progress
V[14:28:05.018] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/26","percentage":30}}}

I[14:28:05.018] --> $/progress
V[14:28:05.018] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/26","percentage":30}}}

V[14:28:05.019] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[14:28:05.035] --> $/progress
V[14:28:05.035] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/26","percentage":34}}}

I[14:28:05.035] --> $/progress
V[14:28:05.035] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/26","percentage":34}}}

V[14:28:05.036] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[14:28:05.060] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (293 symbols, 2609 refs, 25 files)
I[14:28:05.107] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (582 symbols, 3387 refs, 36 files)
I[14:28:05.164] --> $/progress
V[14:28:05.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/26","percentage":38}}}

I[14:28:05.164] --> $/progress
V[14:28:05.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/26","percentage":38}}}

I[14:28:05.164] --> $/progress
V[14:28:05.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/26","percentage":42}}}

I[14:28:05.165] --> $/progress
V[14:28:05.165] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/26","percentage":42}}}

V[14:28:05.166] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":41,"line":22},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:05.166] <-- textDocument/hover("3")
V[14:28:05.166] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:28:05.167] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
V[14:28:05.168] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
I[14:28:05.170] --> reply:textDocument/hover("3") 4 ms
V[14:28:05.170] >>> {"id":"3","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `middleDistance`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\nint middleDistance = 0\n```"},"range":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}}}

I[14:28:05.192] --> $/progress
V[14:28:05.192] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/26","percentage":46}}}

I[14:28:05.192] --> $/progress
V[14:28:05.192] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/26","percentage":46}}}

V[14:28:05.192] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
I[14:28:05.216] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (307 symbols, 2663 refs, 25 files)
I[14:28:05.232] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (600 symbols, 3432 refs, 36 files)
I[14:28:05.243] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
I[14:28:05.539] --> $/progress
V[14:28:05.539] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/26","percentage":50}}}

I[14:28:05.539] --> $/progress
V[14:28:05.539] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/26","percentage":50}}}

V[14:28:05.542] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
I[14:28:05.603] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (601 symbols, 3490 refs, 37 files)
I[14:28:05.677] --> $/progress
V[14:28:05.677] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/26","percentage":53}}}

I[14:28:05.677] --> $/progress
V[14:28:05.677] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/26","percentage":53}}}

V[14:28:05.704] System include extraction: target extracted: "avr"
V[14:28:05.704] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:28:05.704] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:28:05.704] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:28:05.704] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:28:05.705] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[14:28:05.716] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[14:28:05.717] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[14:28:05.723] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[14:28:05.723] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[14:28:05.723] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[14:28:05.723] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[14:28:05.724] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[14:28:05.724] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[14:28:05.724] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[14:28:05.724] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[14:28:05.725] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[14:28:05.725] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[14:28:05.725] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[14:28:05.725] Ignored diagnostic. too many errors emitted, stopping now
I[14:28:05.730] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[14:28:05.730] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[14:28:05.743] --> $/progress
V[14:28:05.743] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/26","percentage":57}}}

I[14:28:05.743] --> $/progress
V[14:28:05.743] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/26","percentage":57}}}

I[14:28:05.744] --> $/progress
V[14:28:05.744] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/26","percentage":61}}}

I[14:28:05.744] --> $/progress
V[14:28:05.744] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/26","percentage":61}}}

V[14:28:05.745] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
V[14:28:05.747] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
I[14:28:05.748] --> $/progress
V[14:28:05.748] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/26","percentage":65}}}

I[14:28:05.748] --> $/progress
V[14:28:05.748] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/26","percentage":65}}}

V[14:28:05.750] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[14:28:05.767] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[14:28:05.815] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (600 symbols, 3583 refs, 35 files)
I[14:28:05.816] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (620 symbols, 3567 refs, 36 files)
I[14:28:05.818] --> $/progress
V[14:28:05.818] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/26","percentage":69}}}

I[14:28:05.818] --> $/progress
V[14:28:05.818] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/26","percentage":69}}}

V[14:28:05.819] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[14:28:05.860] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (309 symbols, 2688 refs, 25 files)
I[14:28:05.966] --> $/progress
V[14:28:05.966] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/26","percentage":73}}}

I[14:28:05.966] --> $/progress
V[14:28:05.966] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/26","percentage":73}}}

V[14:28:05.966] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[14:28:06.023] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (602 symbols, 3436 refs, 35 files)
I[14:28:06.116] --> $/progress
V[14:28:06.116] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/26","percentage":76}}}

I[14:28:06.116] --> $/progress
V[14:28:06.116] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/26","percentage":76}}}

V[14:28:06.118] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[14:28:06.161] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (310 symbols, 2769 refs, 25 files)
I[14:28:06.460] --> $/progress
V[14:28:06.460] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/26","percentage":80}}}

I[14:28:06.491] --> $/progress
V[14:28:06.491] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/26","percentage":84}}}

I[14:28:06.671] --> $/progress
V[14:28:06.671] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/26","percentage":88}}}

I[14:28:06.721] --> $/progress
V[14:28:06.721] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/26","percentage":92}}}

I[14:28:06.727] --> $/progress
V[14:28:06.727] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/26","percentage":96}}}

V[14:28:06.741] BackgroundIndex: building version 2 when background indexer is idle
V[14:28:06.753] BackgroundIndex: serving version 2 (1814298 bytes)
I[14:28:06.754] --> $/progress
V[14:28:06.754] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[14:28:09.107] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":59},"start":{"character":26,"line":59}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:09.107] <-- textDocument/codeAction("4")
V[14:28:09.108] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:09.108] --> reply:textDocument/codeAction("4") 1 ms
V[14:28:09.108] >>> {"id":"4","jsonrpc":"2.0","result":[]}

V[14:28:11.261] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":20,"line":47},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:11.261] <-- textDocument/documentHighlight("5")
V[14:28:11.261] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:11.261] --> reply:textDocument/documentHighlight("5") 0 ms
V[14:28:11.261] >>> {"id":"5","jsonrpc":"2.0","result":[]}

V[14:28:11.506] <<< {"id":"6","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":20,"line":47},"start":{"character":20,"line":47}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:11.506] <-- textDocument/codeAction("6")
V[14:28:11.506] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:11.506] --> reply:textDocument/codeAction("6") 0 ms
V[14:28:11.506] >>> {"id":"6","jsonrpc":"2.0","result":[]}

V[14:28:27.557] <<< {"id":"7","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":44,"line":149},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:27.557] <-- textDocument/hover("7")
V[14:28:27.558] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:27.559] --> reply:textDocument/hover("7") 1 ms
V[14:28:27.559] >>> {"id":"7","jsonrpc":"2.0","result":null}

V[14:28:28.342] <<< {"id":"8","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":38,"line":149},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:28.342] <-- textDocument/hover("8")
V[14:28:28.343] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:28.343] --> reply:textDocument/hover("8") 0 ms
V[14:28:28.343] >>> {"id":"8","jsonrpc":"2.0","result":null}

V[14:28:35.809] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:28:35.809] <-- textDocument/didSave
I[14:28:35.809] File version went from 1 to 1
V[14:28:35.809] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":2}}}

I[14:28:35.809] <-- textDocument/didChange
V[14:28:35.809] ASTWorker skipping Update (1) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:28:35.863] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\compile_commands.json
V[14:28:35.863] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:28:35.863] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 2 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
I[14:28:35.864] --> window/workDoneProgress/create(1)
V[14:28:35.864] >>> {"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:28:35.864] Enqueueing 26 commands for indexing
V[14:28:35.865] <<< {"id":1,"jsonrpc":"2.0","result":null}

I[14:28:35.865] <-- reply(1)
I[14:28:35.865] --> $/progress
V[14:28:35.865] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:28:35.865] --> $/progress
V[14:28:35.865] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:28:35.871] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:28:35.873] Reusing preamble version 1 for version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:28:35.875] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[14:28:35.879] BackgroundIndex: building version 3 after loading index from disk
V[14:28:35.890] BackgroundIndex: serving version 3 (1810202 bytes)
I[14:28:35.898] --> $/progress
V[14:28:35.898] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/2","percentage":0}}}

I[14:28:35.898] --> $/progress
V[14:28:35.898] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/2","percentage":0}}}

I[14:28:35.898] --> $/progress
V[14:28:35.898] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/2","percentage":50}}}

V[14:28:35.898] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
I[14:28:35.935] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (0 symbols, 2251 refs, 37 files)
V[14:28:35.939] BackgroundIndex: building version 4 when background indexer is idle
V[14:28:35.950] BackgroundIndex: serving version 4 (1810466 bytes)
I[14:28:35.950] --> $/progress
V[14:28:35.950] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[14:29:18.667] <<< {"id":"9","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":58},"start":{"character":25,"line":58}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:18.667] <-- textDocument/codeAction("9")
V[14:29:18.668] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:18.668] --> reply:textDocument/codeAction("9") 1 ms
V[14:29:18.668] >>> {"id":"9","jsonrpc":"2.0","result":[]}

V[14:29:20.080] <<< {"id":"10","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":25,"line":56},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:20.080] <-- textDocument/hover("10")
V[14:29:20.080] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:20.081] --> reply:textDocument/hover("10") 1 ms
V[14:29:20.081] >>> {"id":"10","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `carSpeed`  \n\n---\n```cpp\n#define carSpeed 130\n```"},"range":{"end":{"character":27,"line":56},"start":{"character":19,"line":56}}}}

V[14:29:20.527] <<< {"id":"11","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":25,"line":68},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:20.527] <-- textDocument/hover("11")
V[14:29:20.527] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:20.528] --> reply:textDocument/hover("11") 0 ms
V[14:29:20.528] >>> {"id":"11","jsonrpc":"2.0","result":null}

V[14:29:21.076] <<< {"id":"12","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":29,"line":81},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:21.076] <-- textDocument/hover("12")
V[14:29:21.076] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:21.077] --> reply:textDocument/hover("12") 0 ms
V[14:29:21.077] >>> {"id":"12","jsonrpc":"2.0","result":null}

V[14:29:39.085] <<< {"id":"13","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":62,"line":129},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:39.085] <-- textDocument/hover("13")
V[14:29:39.086] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:39.087] --> reply:textDocument/hover("13") 2 ms
V[14:29:39.087] >>> {"id":"13","jsonrpc":"2.0","result":null}

V[14:29:41.871] <<< {"id":"14","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":142},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:29:41.871] <-- textDocument/hover("14")
V[14:29:41.872] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:29:41.873] --> reply:textDocument/hover("14") 1 ms
V[14:29:41.873] >>> {"id":"14","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `GetDistance`  \n\n---\n→ `float`  \n\n---\n```cpp\nfloat GetDistance()\n```"},"range":{"end":{"character":35,"line":142},"start":{"character":24,"line":142}}}}

V[14:31:14.248] <<< {"id":"15","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":33,"line":149},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:31:14.248] <-- textDocument/hover("15")
V[14:31:14.250] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:31:14.252] --> reply:textDocument/hover("15") 3 ms
V[14:31:14.252] >>> {"id":"15","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `GetDistance`  \n\n---\n→ `float`  \n\n---\n```cpp\nfloat GetDistance()\n```"},"range":{"end":{"character":34,"line":149},"start":{"character":23,"line":149}}}}

V[14:31:39.540] <<< {"id":"16","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":151},"start":{"character":19,"line":151}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:31:39.540] <-- textDocument/codeAction("16")
V[14:31:39.541] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:31:39.541] --> reply:textDocument/codeAction("16") 1 ms
V[14:31:39.541] >>> {"id":"16","jsonrpc":"2.0","result":[]}

V[14:32:22.749] <<< {"id":"17","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":3,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:22.749] <-- textDocument/hover("17")
V[14:32:22.750] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:22.751] --> reply:textDocument/hover("17") 1 ms
V[14:32:22.751] >>> {"id":"17","jsonrpc":"2.0","result":null}

V[14:32:23.089] <<< {"id":"18","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":3,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:23.089] <-- textDocument/hover("18")
V[14:32:23.089] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:23.090] --> reply:textDocument/hover("18") 1 ms
V[14:32:23.090] >>> {"id":"18","jsonrpc":"2.0","result":null}

V[14:32:23.191] <<< {"id":"19","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":4,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:23.191] <-- textDocument/documentHighlight("19")
V[14:32:23.191] ASTWorker running Highlights on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:23.191] --> reply:textDocument/documentHighlight("19") 0 ms
V[14:32:23.192] >>> {"id":"19","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"kind":3,"range":{"end":{"character":18,"line":135},"start":{"character":4,"line":135}}},{"kind":2,"range":{"end":{"character":21,"line":136},"start":{"character":7,"line":136}}}]}

V[14:32:24.312] <<< {"id":"20","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":35,"line":135},"start":{"character":4,"line":135}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:24.312] <-- textDocument/codeAction("20")
V[14:32:24.312] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:24.313] --> reply:textDocument/codeAction("20") 0 ms
V[14:32:24.313] >>> {"id":"20","jsonrpc":"2.0","result":[]}

V[14:32:25.319] <<< {"id":"21","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":33,"line":142},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:25.319] <-- textDocument/hover("21")
V[14:32:25.319] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:25.321] --> reply:textDocument/hover("21") 1 ms
V[14:32:25.321] >>> {"id":"21","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `GetDistance`  \n\n---\n→ `float`  \n\n---\n```cpp\nfloat GetDistance()\n```"},"range":{"end":{"character":35,"line":142},"start":{"character":24,"line":142}}}}

V[14:32:25.606] <<< {"id":"22","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":34,"line":142},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:25.606] <-- textDocument/definition("22")
V[14:32:25.606] ASTWorker running Definitions on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:25.606] --> reply:textDocument/definition("22") 0 ms
V[14:32:25.606] >>> {"id":"22","jsonrpc":"2.0","result":[{"range":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}]}

V[14:32:25.765] <<< {"id":"23","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":33,"line":142},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:25.765] <-- textDocument/hover("23")
V[14:32:25.765] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:25.766] --> reply:textDocument/hover("23") 1 ms
V[14:32:25.766] >>> {"id":"23","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `GetDistance`  \n\n---\n→ `float`  \n\n---\n```cpp\nfloat GetDistance()\n```"},"range":{"end":{"character":35,"line":142},"start":{"character":24,"line":142}}}}

V[14:32:27.463] <<< {"id":"24","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":147},"start":{"character":27,"line":147}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:27.463] <-- textDocument/codeAction("24")
V[14:32:27.463] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:27.463] --> reply:textDocument/codeAction("24") 0 ms
V[14:32:27.463] >>> {"id":"24","jsonrpc":"2.0","result":[]}

V[14:32:30.022] <<< {"id":"25","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":146},"start":{"character":19,"line":146}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:30.022] <-- textDocument/codeAction("25")
V[14:32:30.023] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:30.023] --> reply:textDocument/codeAction("25") 1 ms
V[14:32:30.023] >>> {"id":"25","jsonrpc":"2.0","result":[]}

V[14:32:36.454] <<< {"id":"26","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":145},"start":{"character":27,"line":145}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:36.454] <-- textDocument/codeAction("26")
V[14:32:36.456] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:36.456] --> reply:textDocument/codeAction("26") 1 ms
V[14:32:36.456] >>> {"id":"26","jsonrpc":"2.0","result":[]}

V[14:32:40.030] <<< {"id":"27","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":146},"start":{"character":19,"line":146}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:40.030] <-- textDocument/codeAction("27")
V[14:32:40.030] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:40.030] --> reply:textDocument/codeAction("27") 0 ms
V[14:32:40.030] >>> {"id":"27","jsonrpc":"2.0","result":[]}

V[14:32:43.026] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":19,"line":146},"start":{"character":19,"line":146}},"text":"\r\n        "}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":3}}}

I[14:32:43.026] <-- textDocument/didChange
V[14:32:43.026] <<< {"id":"28","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:43.026] <-- textDocument/documentSymbol("28")
I[14:32:43.028] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 3 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:43.035] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:43.038] Reusing preamble version 1 for version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:32:43.044] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 3
V[14:32:43.066] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:43.067] --> reply:textDocument/documentSymbol("28") 40 ms
V[14:32:43.067] >>> {"id":"28","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":180},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[14:32:43.067] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp, inputs are the same.
V[14:32:43.068] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 3:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:32:43.069] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[14:32:43.069] --> textDocument/publishDiagnostics
V[14:32:43.069] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":3}}

V[14:32:43.084] <<< {"id":"29","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:43.084] <-- textDocument/documentSymbol("29")
V[14:32:43.084] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:43.085] --> reply:textDocument/documentSymbol("29") 0 ms
V[14:32:43.085] >>> {"id":"29","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":180},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[14:32:43.784] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":8,"line":147},"start":{"character":8,"line":147}},"text":"middleDistance = GetDistance();"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":4}}}

I[14:32:43.784] <-- textDocument/didChange
V[14:32:43.785] <<< {"id":"30","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:43.785] <-- textDocument/documentSymbol("30")
I[14:32:43.785] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 4 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:43.793] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:43.795] Reusing preamble version 1 for version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:32:43.801] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 4
V[14:32:43.822] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:43.823] --> reply:textDocument/documentSymbol("30") 37 ms
V[14:32:43.823] >>> {"id":"30","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":180},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[14:32:43.823] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp, inputs are the same.
V[14:32:43.824] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 4:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 205 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:32:43.824] Build dynamic index for main-file symbols with estimated memory usage of 32424 bytes
I[14:32:43.824] --> textDocument/publishDiagnostics
V[14:32:43.824] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":4}}

V[14:32:43.840] <<< {"id":"31","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:43.840] <-- textDocument/documentSymbol("31")
V[14:32:43.841] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:43.841] --> reply:textDocument/documentSymbol("31") 0 ms
V[14:32:43.842] >>> {"id":"31","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":180},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[14:32:44.037] <<< {"id":"32","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":39,"line":147},"start":{"character":39,"line":147}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:44.037] <-- textDocument/codeAction("32")
V[14:32:44.037] ASTWorker running EnumerateTweaks on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:44.037] --> reply:textDocument/codeAction("32") 0 ms
V[14:32:44.037] >>> {"id":"32","jsonrpc":"2.0","result":[]}

V[14:32:44.865] <<< {"id":"33","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":26,"line":153},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:44.865] <-- textDocument/hover("33")
V[14:32:44.865] ASTWorker running Hover on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:44.867] --> reply:textDocument/hover("33") 1 ms
V[14:32:44.867] >>> {"id":"33","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `write`  \n\n---\n→ `void`  \nParameters:  \n- `int value`\n\n---\n```cpp\n// In Servo\npublic: void write(int value)\n```"},"range":{"end":{"character":27,"line":153},"start":{"character":26,"line":153}}}}

V[14:32:46.936] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:46.936] <-- textDocument/didSave
I[14:32:46.936] File version went from 4 to 4
V[14:32:46.936] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        middleDistance = GetDistance();\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":5}}}

I[14:32:46.936] <-- textDocument/didChange
V[14:32:46.936] ASTWorker skipping Update (4) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:46.994] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 5 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:47.018] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:32:47.021] Reusing preamble version 1 for version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:32:47.049] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 5:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 205 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:32:47.049] Build dynamic index for main-file symbols with estimated memory usage of 32424 bytes
I[14:32:47.049] --> textDocument/publishDiagnostics
V[14:32:47.049] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":5}}

V[14:32:59.797] <<< {"id":"34","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":51,"line":150},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:32:59.797] <-- textDocument/hover("34")
V[14:32:59.798] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:32:59.799] --> reply:textDocument/hover("34") 1 ms
V[14:32:59.799] >>> {"id":"34","jsonrpc":"2.0","result":null}

V[14:33:33.877] <<< {"id":"35","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":8,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:33.877] <-- textDocument/hover("35")
V[14:33:33.878] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:33.880] --> reply:textDocument/hover("35") 2 ms
V[14:33:33.880] >>> {"id":"35","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `println`  \n\n---\n→ `size_t`  \nParameters:  \n- `double`\n- `int = 2`\n\n---\n```cpp\n// In Print\npublic: size_t println(double, int = 2)\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:34.180] <<< {"id":"36","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":9,"line":113},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:34.180] <-- textDocument/hover("36")
V[14:33:34.181] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:34.182] --> reply:textDocument/hover("36") 1 ms
V[14:33:34.182] >>> {"id":"36","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `distance`  \n\n---\nType: `float`  \n\n---\n```cpp\n// In GetDistance\nfloat distance\n```"},"range":{"end":{"character":17,"line":113},"start":{"character":9,"line":113}}}}

V[14:33:34.386] <<< {"id":"37","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":8,"line":113},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:34.386] <-- textDocument/hover("37")
V[14:33:34.386] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:34.387] --> reply:textDocument/hover("37") 1 ms
V[14:33:34.387] >>> {"id":"37","jsonrpc":"2.0","result":null}

V[14:33:34.825] <<< {"id":"38","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":7,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:34.825] <-- textDocument/hover("38")
V[14:33:34.825] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:34.826] --> reply:textDocument/hover("38") 1 ms
V[14:33:34.826] >>> {"id":"38","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:35.040] <<< {"id":"39","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":7,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:35.040] <-- textDocument/hover("39")
V[14:33:35.040] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:35.041] --> reply:textDocument/hover("39") 1 ms
V[14:33:35.041] >>> {"id":"39","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:35.642] <<< {"id":"40","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":3,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:35.642] <-- textDocument/hover("40")
V[14:33:35.642] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:35.643] --> reply:textDocument/hover("40") 1 ms
V[14:33:35.643] >>> {"id":"40","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:35.792] <<< {"id":"41","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:35.792] <-- textDocument/hover("41")
V[14:33:35.793] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:35.794] --> reply:textDocument/hover("41") 1 ms
V[14:33:35.794] >>> {"id":"41","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:35.998] <<< {"id":"42","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:35.998] <-- textDocument/hover("42")
V[14:33:35.998] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:35.999] --> reply:textDocument/hover("42") 1 ms
V[14:33:35.999] >>> {"id":"42","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}}}

V[14:33:36.446] <<< {"id":"43","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:36.446] <-- textDocument/documentHighlight("43")
V[14:33:36.446] ASTWorker running Highlights on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:36.446] --> reply:textDocument/documentHighlight("43") 0 ms
V[14:33:36.446] >>> {"id":"43","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":51},"start":{"character":2,"line":51}}},{"kind":1,"range":{"end":{"character":8,"line":63},"start":{"character":2,"line":63}}},{"kind":1,"range":{"end":{"character":8,"line":76},"start":{"character":2,"line":76}}},{"kind":1,"range":{"end":{"character":8,"line":89},"start":{"character":2,"line":89}}},{"kind":1,"range":{"end":{"character":8,"line":95},"start":{"character":2,"line":95}}},{"kind":1,"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}},{"kind":1,"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}},{"kind":1,"range":{"end":{"character":8,"line":118},"start":{"character":2,"line":118}}}]}

V[14:33:37.692] <<< {"id":"44","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":29,"line":111},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:37.692] <-- textDocument/codeAction("44")
V[14:33:37.692] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:37.692] --> reply:textDocument/codeAction("44") 0 ms
V[14:33:37.692] >>> {"id":"44","jsonrpc":"2.0","result":[]}

V[14:33:38.607] <<< {"id":"45","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":31,"line":112},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:38.607] <-- textDocument/codeAction("45")
V[14:33:38.607] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:38.608] --> reply:textDocument/codeAction("45") 0 ms
V[14:33:38.608] >>> {"id":"45","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":31,"line":112},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:33:39.364] <<< {"id":"46","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":113},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:39.364] <-- textDocument/codeAction("46")
V[14:33:39.365] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:39.365] --> reply:textDocument/codeAction("46") 1 ms
V[14:33:39.365] >>> {"id":"46","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":18,"line":113},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:33:39.976] <<< {"id":"47","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:39.976] <-- textDocument/codeAction("47")
V[14:33:39.976] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:39.977] --> reply:textDocument/codeAction("47") 0 ms
V[14:33:39.977] >>> {"id":"47","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:33:41.841] <<< {"id":"48","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":122},"start":{"character":23,"line":122}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:41.841] <-- textDocument/codeAction("48")
V[14:33:41.841] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:41.841] --> reply:textDocument/codeAction("48") 0 ms
V[14:33:41.841] >>> {"id":"48","jsonrpc":"2.0","result":[]}

V[14:33:43.153] <<< {"id":"49","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:43.154] <-- textDocument/hover("49")
V[14:33:43.154] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:43.155] --> reply:textDocument/hover("49") 1 ms
V[14:33:43.155] >>> {"id":"49","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}}}

V[14:33:44.001] <<< {"id":"50","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:44.001] <-- textDocument/hover("50")
V[14:33:44.002] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:44.006] --> reply:textDocument/hover("50") 4 ms
V[14:33:44.006] >>> {"id":"50","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}}}

V[14:33:44.639] <<< {"id":"51","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":1,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:44.639] <-- textDocument/hover("51")
V[14:33:44.640] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:44.641] --> reply:textDocument/hover("51") 1 ms
V[14:33:44.641] >>> {"id":"51","jsonrpc":"2.0","result":null}

V[14:33:44.798] <<< {"id":"52","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":2,"line":112},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:44.798] <-- textDocument/documentHighlight("52")
V[14:33:44.798] ASTWorker running Highlights on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:44.798] --> reply:textDocument/documentHighlight("52") 0 ms
V[14:33:44.798] >>> {"id":"52","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":51},"start":{"character":2,"line":51}}},{"kind":1,"range":{"end":{"character":8,"line":63},"start":{"character":2,"line":63}}},{"kind":1,"range":{"end":{"character":8,"line":76},"start":{"character":2,"line":76}}},{"kind":1,"range":{"end":{"character":8,"line":89},"start":{"character":2,"line":89}}},{"kind":1,"range":{"end":{"character":8,"line":95},"start":{"character":2,"line":95}}},{"kind":1,"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}},{"kind":1,"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}},{"kind":1,"range":{"end":{"character":8,"line":118},"start":{"character":2,"line":118}}}]}

V[14:33:46.148] <<< {"id":"53","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":112},"start":{"character":2,"line":112}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:46.148] <-- textDocument/codeAction("53")
V[14:33:46.148] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:46.148] --> reply:textDocument/codeAction("53") 0 ms
V[14:33:46.148] >>> {"id":"53","jsonrpc":"2.0","result":[]}

V[14:33:49.563] <<< {"id":"54","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":1,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:49.563] <-- textDocument/hover("54")
V[14:33:49.563] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:49.564] --> reply:textDocument/hover("54") 0 ms
V[14:33:49.564] >>> {"id":"54","jsonrpc":"2.0","result":null}

V[14:33:49.712] <<< {"id":"55","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:49.712] <-- textDocument/documentHighlight("55")
V[14:33:49.713] ASTWorker running Highlights on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:49.713] --> reply:textDocument/documentHighlight("55") 1 ms
V[14:33:49.713] >>> {"id":"55","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":51},"start":{"character":2,"line":51}}},{"kind":1,"range":{"end":{"character":8,"line":63},"start":{"character":2,"line":63}}},{"kind":1,"range":{"end":{"character":8,"line":76},"start":{"character":2,"line":76}}},{"kind":1,"range":{"end":{"character":8,"line":89},"start":{"character":2,"line":89}}},{"kind":1,"range":{"end":{"character":8,"line":95},"start":{"character":2,"line":95}}},{"kind":1,"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}},{"kind":1,"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}},{"kind":1,"range":{"end":{"character":8,"line":118},"start":{"character":2,"line":118}}}]}

V[14:33:50.273] <<< {"id":"56","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":113},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:50.273] <-- textDocument/codeAction("56")
V[14:33:50.273] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:50.273] --> reply:textDocument/codeAction("56") 0 ms
V[14:33:50.273] >>> {"id":"56","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":18,"line":113},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:33:50.737] <<< {"id":"57","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:50.737] <-- textDocument/codeAction("57")
V[14:33:50.737] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:50.738] --> reply:textDocument/codeAction("57") 0 ms
V[14:33:50.738] >>> {"id":"57","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:33:52.461] <<< {"id":"58","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":50,"line":150},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:52.461] <-- textDocument/hover("58")
V[14:33:52.461] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:52.462] --> reply:textDocument/hover("58") 0 ms
V[14:33:52.462] >>> {"id":"58","jsonrpc":"2.0","result":null}

V[14:33:56.650] <<< {"id":"59","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":39,"line":147},"start":{"character":39,"line":147}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:33:56.650] <-- textDocument/codeAction("59")
V[14:33:56.651] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:33:56.651] --> reply:textDocument/codeAction("59") 1 ms
V[14:33:56.651] >>> {"id":"59","jsonrpc":"2.0","result":[]}

V[14:34:02.661] <<< {"id":"60","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":44,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:02.661] <-- textDocument/hover("60")
V[14:34:02.662] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:02.663] --> reply:textDocument/hover("60") 1 ms
V[14:34:02.663] >>> {"id":"60","jsonrpc":"2.0","result":null}

V[14:34:02.950] <<< {"id":"61","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":44,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:02.950] <-- textDocument/hover("61")
V[14:34:02.950] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:02.951] --> reply:textDocument/hover("61") 0 ms
V[14:34:02.951] >>> {"id":"61","jsonrpc":"2.0","result":null}

V[14:34:03.296] <<< {"id":"62","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":43,"line":163},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:03.296] <-- textDocument/hover("62")
V[14:34:03.296] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:03.297] --> reply:textDocument/hover("62") 1 ms
V[14:34:03.297] >>> {"id":"62","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `leftDistance`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\nint leftDistance = 0\n```"},"range":{"end":{"character":44,"line":163},"start":{"character":32,"line":163}}}}

V[14:34:04.732] <<< {"id":"63","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":140},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:04.732] <-- textDocument/hover("63")
V[14:34:04.732] ASTWorker running Hover on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:04.733] --> reply:textDocument/hover("63") 1 ms
V[14:34:04.733] >>> {"id":"63","jsonrpc":"2.0","result":null}

V[14:34:09.266] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:09.266] <-- textDocument/didSave
I[14:34:09.266] File version went from 5 to 5
V[14:34:09.266] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        middleDistance = GetDistance();\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":6}}}

I[14:34:09.266] <-- textDocument/didChange
V[14:34:09.266] ASTWorker skipping Update (5) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:09.320] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\compile_commands.json
V[14:34:09.320] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:34:09.321] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 6 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
I[14:34:09.322] --> window/workDoneProgress/create(2)
V[14:34:09.322] >>> {"id":2,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:34:09.322] Enqueueing 26 commands for indexing
V[14:34:09.322] <<< {"id":2,"jsonrpc":"2.0","result":null}

I[14:34:09.322] <-- reply(2)
I[14:34:09.322] --> $/progress
V[14:34:09.322] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:34:09.322] --> $/progress
V[14:34:09.322] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:34:09.330] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:09.333] Reusing preamble version 1 for version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:34:09.339] BackgroundIndex: building version 5 after loading index from disk
V[14:34:09.350] BackgroundIndex: serving version 5 (1810466 bytes)
I[14:34:09.357] --> $/progress
V[14:34:09.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[14:34:09.357] --> $/progress
V[14:34:09.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[14:34:32.008] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":39,"line":147},"start":{"character":8,"line":147}},"text":""}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":7}}}

I[14:34:32.008] <-- textDocument/didChange
V[14:34:32.009] <<< {"id":"64","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:32.009] <-- textDocument/documentSymbol("64")
I[14:34:32.010] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 7 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:32.018] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:32.020] Reusing preamble version 1 for version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:34:32.025] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 7
V[14:34:32.047] ASTWorker running DocumentSymbols on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:32.048] --> reply:textDocument/documentSymbol("64") 39 ms
V[14:34:32.048] >>> {"id":"64","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":180},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[14:34:32.048] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp, inputs are the same.
V[14:34:32.049] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 7:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:34:32.050] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[14:34:32.050] --> textDocument/publishDiagnostics
V[14:34:32.050] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":7}}

V[14:34:32.570] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":8,"line":147},"start":{"character":19,"line":146}},"text":""}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":8}}}

I[14:34:32.570] <-- textDocument/didChange
V[14:34:32.570] <<< {"id":"65","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:32.570] <-- textDocument/documentSymbol("65")
I[14:34:32.571] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 8 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:32.578] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:32.580] Reusing preamble version 1 for version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:34:32.585] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 8
V[14:34:32.607] ASTWorker running DocumentSymbols on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:32.608] --> reply:textDocument/documentSymbol("65") 37 ms
V[14:34:32.608] >>> {"id":"65","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[14:34:32.608] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp, inputs are the same.
V[14:34:32.609] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 8:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:34:32.609] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[14:34:32.609] --> textDocument/publishDiagnostics
V[14:34:32.609] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":8}}

V[14:34:32.811] <<< {"id":"66","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":146},"start":{"character":19,"line":146}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:32.811] <-- textDocument/codeAction("66")
V[14:34:32.811] ASTWorker running EnumerateTweaks on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:32.811] --> reply:textDocument/codeAction("66") 0 ms
V[14:34:32.811] >>> {"id":"66","jsonrpc":"2.0","result":[]}

V[14:34:33.491] <<< {"id":"67","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":147},"start":{"character":27,"line":147}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:33.491] <-- textDocument/codeAction("67")
V[14:34:33.491] ASTWorker running EnumerateTweaks on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:33.491] --> reply:textDocument/codeAction("67") 0 ms
V[14:34:33.491] >>> {"id":"67","jsonrpc":"2.0","result":[]}

V[14:34:36.708] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:34:36.708] <-- textDocument/didSave
I[14:34:36.708] File version went from 8 to 8
V[14:34:36.709] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":9}}}

I[14:34:36.709] <-- textDocument/didChange
V[14:34:36.709] ASTWorker skipping Update (8) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:34:36.773] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 9 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:36.781] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:34:36.783] Reusing preamble version 1 for version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:35:56.664] <<< {"id":"68","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":113},"start":{"character":18,"line":113}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:35:56.664] <-- textDocument/codeAction("68")
V[14:35:56.665] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:35:56.665] --> reply:textDocument/codeAction("68") 1 ms
V[14:35:56.665] >>> {"id":"68","jsonrpc":"2.0","result":[]}

V[14:36:00.246] <<< {"id":"69","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":30,"line":117},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:00.246] <-- textDocument/hover("69")
V[14:36:00.246] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:00.247] --> reply:textDocument/hover("69") 1 ms
V[14:36:00.247] >>> {"id":"69","jsonrpc":"2.0","result":null}

V[14:36:14.083] <<< {"id":"70","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":0,"line":100},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:14.083] <-- textDocument/hover("70")
V[14:36:14.084] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:14.085] --> reply:textDocument/hover("70") 1 ms
V[14:36:14.085] >>> {"id":"70","jsonrpc":"2.0","result":null}

V[14:36:14.472] <<< {"id":"71","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":0,"line":100},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:14.472] <-- textDocument/hover("71")
V[14:36:14.472] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:14.473] --> reply:textDocument/hover("71") 0 ms
V[14:36:14.473] >>> {"id":"71","jsonrpc":"2.0","result":null}

V[14:36:14.592] <<< {"id":"72","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":100},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:14.592] <-- textDocument/documentHighlight("72")
V[14:36:14.593] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:14.593] --> reply:textDocument/documentHighlight("72") 0 ms
V[14:36:14.593] >>> {"id":"72","jsonrpc":"2.0","result":[]}

V[14:36:15.589] <<< {"id":"73","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:15.589] <-- textDocument/codeAction("73")
V[14:36:15.589] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:15.590] --> reply:textDocument/codeAction("73") 0 ms
V[14:36:15.590] >>> {"id":"73","jsonrpc":"2.0","result":[]}

V[14:36:38.911] <<< {"id":"74","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":1,"line":117},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:38.911] <-- textDocument/hover("74")
V[14:36:38.912] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:38.913] --> reply:textDocument/hover("74") 1 ms
V[14:36:38.913] >>> {"id":"74","jsonrpc":"2.0","result":null}

V[14:36:39.093] <<< {"id":"75","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":2,"line":117},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:39.093] <-- textDocument/documentHighlight("75")
V[14:36:39.093] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:39.093] --> reply:textDocument/documentHighlight("75") 0 ms
V[14:36:39.094] >>> {"id":"75","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"kind":1,"range":{"end":{"character":9,"line":117},"start":{"character":2,"line":117}}},{"kind":1,"range":{"end":{"character":9,"line":129},"start":{"character":2,"line":129}}},{"kind":1,"range":{"end":{"character":15,"line":140},"start":{"character":8,"line":140}}},{"kind":1,"range":{"end":{"character":15,"line":145},"start":{"character":8,"line":145}}},{"kind":1,"range":{"end":{"character":15,"line":147},"start":{"character":8,"line":147}}},{"kind":1,"range":{"end":{"character":15,"line":152},"start":{"character":8,"line":152}}}]}

V[14:36:40.197] <<< {"id":"76","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":30,"line":117},"start":{"character":2,"line":117}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:40.197] <-- textDocument/codeAction("76")
V[14:36:40.197] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:40.197] --> reply:textDocument/codeAction("76") 0 ms
V[14:36:40.197] >>> {"id":"76","jsonrpc":"2.0","result":[]}

V[14:36:40.522] <<< {"id":"77","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":30,"line":117},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:40.522] <-- textDocument/hover("77")
V[14:36:40.522] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:40.523] --> reply:textDocument/hover("77") 0 ms
V[14:36:40.523] >>> {"id":"77","jsonrpc":"2.0","result":null}

V[14:36:42.651] <<< {"id":"78","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":118},"start":{"character":2,"line":117}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:42.651] <-- textDocument/codeAction("78")
V[14:36:42.651] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:42.651] --> reply:textDocument/codeAction("78") 0 ms
V[14:36:42.651] >>> {"id":"78","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":21,"line":118},"start":{"character":2,"line":117}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:36:44.417] <<< {"id":"79","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":2,"line":117}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:36:44.417] <-- textDocument/codeAction("79")
V[14:36:44.418] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:36:44.418] --> reply:textDocument/codeAction("79") 1 ms
V[14:36:44.418] >>> {"id":"79","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":120},"start":{"character":2,"line":117}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:37:17.737] <<< {"id":"80","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":49},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:17.737] <-- textDocument/hover("80")
V[14:37:17.739] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:17.740] --> reply:textDocument/hover("80") 2 ms
V[14:37:17.740] >>> {"id":"80","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":49},"start":{"character":20,"line":49}}}}

V[14:37:18.765] <<< {"id":"81","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":11,"line":51},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:18.765] <-- textDocument/hover("81")
V[14:37:18.765] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:18.767] --> reply:textDocument/hover("81") 1 ms
V[14:37:18.767] >>> {"id":"81","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `println`  \n\n---\n→ `size_t`  \nParameters:  \n- `const char *`\n\n---\n```cpp\n// In Print\npublic: size_t println(const char[])\n```"},"range":{"end":{"character":16,"line":51},"start":{"character":9,"line":51}}}}

V[14:37:20.021] <<< {"id":"82","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":16,"line":56},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:20.021] <-- textDocument/hover("82")
V[14:37:20.021] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:20.023] --> reply:textDocument/hover("82") 1 ms
V[14:37:20.023] >>> {"id":"82","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `ENB`  \n\n---\n```cpp\n#define ENB 6\n```"},"range":{"end":{"character":17,"line":56},"start":{"character":14,"line":56}}}}

V[14:37:20.930] <<< {"id":"83","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":45},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:20.930] <-- textDocument/hover("83")
V[14:37:20.930] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:20.932] --> reply:textDocument/hover("83") 1 ms
V[14:37:20.932] >>> {"id":"83","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":45},"start":{"character":20,"line":45}}}}

V[14:37:23.778] <<< {"id":"84","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":46},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:23.778] <-- textDocument/hover("84")
V[14:37:23.779] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:23.780] --> reply:textDocument/hover("84") 2 ms
V[14:37:23.780] >>> {"id":"84","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":46},"start":{"character":20,"line":46}}}}

V[14:37:25.014] <<< {"id":"85","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":46},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:25.014] <-- textDocument/hover("85")
V[14:37:25.014] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:25.015] --> reply:textDocument/hover("85") 1 ms
V[14:37:25.015] >>> {"id":"85","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `IN2`  \n\n---\n```cpp\n#define IN2 4\n```"},"range":{"end":{"character":18,"line":46},"start":{"character":15,"line":46}}}}

V[14:37:25.352] <<< {"id":"86","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":55},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:25.352] <-- textDocument/hover("86")
V[14:37:25.353] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:25.354] --> reply:textDocument/hover("86") 1 ms
V[14:37:25.354] >>> {"id":"86","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `analogWrite`  \n\n---\n→ `void`  \nParameters:  \n- `uint8_t pin`\n- `int val`\n\n---\n```cpp\nvoid analogWrite(uint8_t pin, int val)\n```"},"range":{"end":{"character":18,"line":55},"start":{"character":17,"line":55}}}}

V[14:37:29.875] <<< {"id":"87","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":67},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:29.875] <-- textDocument/hover("87")
V[14:37:29.876] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:29.877] --> reply:textDocument/hover("87") 2 ms
V[14:37:29.877] >>> {"id":"87","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### function `analogWrite`  \n\n---\n→ `void`  \nParameters:  \n- `uint8_t pin`\n- `int val`\n\n---\n```cpp\nvoid analogWrite(uint8_t pin, int val)\n```"},"range":{"end":{"character":18,"line":67},"start":{"character":17,"line":67}}}}

V[14:37:30.299] <<< {"id":"88","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":76},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:30.299] <-- textDocument/hover("88")
V[14:37:30.299] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:30.300] --> reply:textDocument/hover("88") 0 ms
V[14:37:30.300] >>> {"id":"88","jsonrpc":"2.0","result":null}

V[14:37:31.598] <<< {"id":"89","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":93},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:31.598] <-- textDocument/hover("89")
V[14:37:31.598] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:31.599] --> reply:textDocument/hover("89") 1 ms
V[14:37:31.599] >>> {"id":"89","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":93},"start":{"character":20,"line":93}}}}

V[14:37:34.165] <<< {"id":"90","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:34.165] <-- textDocument/codeAction("90")
V[14:37:34.165] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:34.165] --> reply:textDocument/codeAction("90") 0 ms
V[14:37:34.165] >>> {"id":"90","jsonrpc":"2.0","result":[]}

V[14:37:34.724] <<< {"id":"91","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:34.724] <-- textDocument/codeAction("91")
V[14:37:34.724] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:34.724] --> reply:textDocument/codeAction("91") 0 ms
V[14:37:34.724] >>> {"id":"91","jsonrpc":"2.0","result":[]}

V[14:37:35.186] <<< {"id":"92","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:35.186] <-- textDocument/codeAction("92")
V[14:37:35.187] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:35.187] --> reply:textDocument/codeAction("92") 1 ms
V[14:37:35.187] >>> {"id":"92","jsonrpc":"2.0","result":[]}

V[14:37:35.516] <<< {"id":"93","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:35.516] <-- textDocument/codeAction("93")
V[14:37:35.516] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:35.516] --> reply:textDocument/codeAction("93") 0 ms
V[14:37:35.516] >>> {"id":"93","jsonrpc":"2.0","result":[]}

V[14:37:41.102] <<< {"id":"94","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":12,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:41.102] <-- textDocument/documentHighlight("94")
V[14:37:41.103] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:41.104] --> reply:textDocument/documentHighlight("94") 1 ms
V[14:37:41.104] >>> {"id":"94","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"kind":2,"range":{"end":{"character":25,"line":109},"start":{"character":21,"line":109}}},{"kind":2,"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}}}]}

V[14:37:41.576] <<< {"id":"95","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:41.576] <-- textDocument/codeAction("95")
V[14:37:41.576] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:41.576] --> reply:textDocument/codeAction("95") 0 ms
V[14:37:41.576] >>> {"id":"95","jsonrpc":"2.0","result":[]}

V[14:37:43.023] <<< {"id":"96","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:43.023] <-- textDocument/codeAction("96")
V[14:37:43.023] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:43.023] --> reply:textDocument/codeAction("96") 0 ms
V[14:37:43.023] >>> {"id":"96","jsonrpc":"2.0","result":[]}

V[14:37:43.857] <<< {"id":"97","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":11,"line":118},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:43.857] <-- textDocument/documentHighlight("97")
V[14:37:43.857] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:43.857] --> reply:textDocument/documentHighlight("97") 0 ms
V[14:37:43.857] >>> {"id":"97","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":14,"line":118},"start":{"character":9,"line":118}}}]}

V[14:37:44.112] <<< {"id":"98","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":11,"line":118},"start":{"character":11,"line":118}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:44.112] <-- textDocument/codeAction("98")
V[14:37:44.112] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:44.112] --> reply:textDocument/codeAction("98") 0 ms
V[14:37:44.112] >>> {"id":"98","jsonrpc":"2.0","result":[]}

V[14:37:44.174] <<< {"id":"99","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":12,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:44.174] <-- textDocument/hover("99")
V[14:37:44.174] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:44.176] --> reply:textDocument/hover("99") 1 ms
V[14:37:44.176] >>> {"id":"99","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Echo`  \n\n---\nType: `int`  \nValue = `13 (0xd)`  \nPassed as pin (converted to uint8_t)  \nPin to D13  \n\n---\n```cpp\nint Echo = 13\n```"},"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}}}}

V[14:37:44.400] <<< {"id":"100","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":13,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:44.400] <-- textDocument/documentHighlight("100")
V[14:37:44.400] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:44.400] --> reply:textDocument/documentHighlight("100") 0 ms
V[14:37:44.400] >>> {"id":"100","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"kind":2,"range":{"end":{"character":25,"line":109},"start":{"character":21,"line":109}}},{"kind":2,"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}}}]}

V[14:37:44.831] <<< {"id":"101","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:44.831] <-- textDocument/codeAction("101")
V[14:37:44.832] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:44.832] --> reply:textDocument/codeAction("101") 0 ms
V[14:37:44.832] >>> {"id":"101","jsonrpc":"2.0","result":[]}

V[14:37:47.795] <<< {"id":"102","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":121},"start":{"character":23,"line":121}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:47.795] <-- textDocument/codeAction("102")
V[14:37:47.796] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:47.796] --> reply:textDocument/codeAction("102") 1 ms
V[14:37:47.796] >>> {"id":"102","jsonrpc":"2.0","result":[]}

V[14:37:48.250] <<< {"id":"103","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:48.250] <-- textDocument/codeAction("103")
V[14:37:48.250] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:48.250] --> reply:textDocument/codeAction("103") 0 ms
V[14:37:48.251] >>> {"id":"103","jsonrpc":"2.0","result":[]}

V[14:37:51.384] <<< {"id":"104","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:51.384] <-- textDocument/codeAction("104")
V[14:37:51.384] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:51.384] --> reply:textDocument/codeAction("104") 0 ms
V[14:37:51.384] >>> {"id":"104","jsonrpc":"2.0","result":[]}

V[14:37:51.767] <<< {"id":"105","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:51.767] <-- textDocument/codeAction("105")
V[14:37:51.767] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:51.767] --> reply:textDocument/codeAction("105") 0 ms
V[14:37:51.767] >>> {"id":"105","jsonrpc":"2.0","result":[]}

V[14:37:52.152] <<< {"id":"106","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:52.152] <-- textDocument/codeAction("106")
V[14:37:52.152] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:52.152] --> reply:textDocument/codeAction("106") 0 ms
V[14:37:52.152] >>> {"id":"106","jsonrpc":"2.0","result":[]}

V[14:37:52.509] <<< {"id":"107","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:52.509] <-- textDocument/codeAction("107")
V[14:37:52.509] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:52.509] --> reply:textDocument/codeAction("107") 0 ms
V[14:37:52.509] >>> {"id":"107","jsonrpc":"2.0","result":[]}

V[14:37:53.660] <<< {"id":"108","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":13,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:53.660] <-- textDocument/hover("108")
V[14:37:53.661] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:53.662] --> reply:textDocument/hover("108") 2 ms
V[14:37:53.662] >>> {"id":"108","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Echo`  \n\n---\nType: `int`  \nValue = `13 (0xd)`  \nPassed as pin (converted to uint8_t)  \nPin to D13  \n\n---\n```cpp\nint Echo = 13\n```"},"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}}}}

V[14:37:53.783] <<< {"id":"109","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":13,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:53.783] <-- textDocument/documentHighlight("109")
V[14:37:53.783] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:53.784] --> reply:textDocument/documentHighlight("109") 0 ms
V[14:37:53.784] >>> {"id":"109","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"kind":2,"range":{"end":{"character":25,"line":109},"start":{"character":21,"line":109}}},{"kind":2,"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}}}]}

V[14:37:54.193] <<< {"id":"110","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":14,"line":119},"start":{"character":10,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:54.193] <-- textDocument/codeAction("110")
V[14:37:54.193] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:54.193] --> reply:textDocument/codeAction("110") 0 ms
V[14:37:54.193] >>> {"id":"110","jsonrpc":"2.0","result":[]}

V[14:37:54.234] <<< {"id":"111","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":13,"line":119},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:54.234] <-- textDocument/definition("111")
V[14:37:54.234] ASTWorker running Definitions on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:54.234] --> reply:textDocument/definition("111") 0 ms
V[14:37:54.234] >>> {"id":"111","jsonrpc":"2.0","result":[{"range":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}]}

V[14:37:54.340] <<< {"id":"112","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":16,"line":120},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:54.341] <-- textDocument/definition("112")
V[14:37:54.341] ASTWorker running Definitions on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:54.341] --> reply:textDocument/definition("112") 0 ms
V[14:37:54.341] >>> {"id":"112","jsonrpc":"2.0","result":[{"range":{"end":{"character":14,"line":43},"start":{"character":8,"line":43}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}

V[14:37:54.444] <<< {"id":"113","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":16,"line":121},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:54.444] <-- textDocument/definition("113")
V[14:37:54.444] ASTWorker running Definitions on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:54.444] --> reply:textDocument/definition("113") 0 ms
V[14:37:54.444] >>> {"id":"113","jsonrpc":"2.0","result":[{"range":{"end":{"character":14,"line":43},"start":{"character":8,"line":43}},"uri":"file:///C:/Users/Administrator/AppData/Local/Arduino15/packages/arduino/hardware/avr/1.8.5/cores/arduino/Arduino.h"}]}

V[14:37:54.594] <<< {"id":"114","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":15,"line":121},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:54.594] <-- textDocument/hover("114")
V[14:37:54.594] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:54.597] --> reply:textDocument/hover("114") 2 ms
V[14:37:54.597] >>> {"id":"114","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `OUTPUT`  \n\n---\n```cpp\n#define OUTPUT 0x1\n```"},"range":{"end":{"character":21,"line":121},"start":{"character":15,"line":121}}}}

V[14:37:56.070] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:37:56.070] <-- textDocument/didSave
I[14:37:56.070] File version went from 9 to 9
V[14:37:56.070] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":10}}}

I[14:37:56.070] <-- textDocument/didChange
V[14:37:56.070] ASTWorker skipping Update (9) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:37:56.130] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\compile_commands.json
V[14:37:56.130] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:37:56.130] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 10 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
I[14:37:56.131] --> window/workDoneProgress/create(3)
V[14:37:56.131] >>> {"id":3,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:37:56.131] Enqueueing 26 commands for indexing
V[14:37:56.131] <<< {"id":3,"jsonrpc":"2.0","result":null}

I[14:37:56.131] <-- reply(3)
I[14:37:56.131] --> $/progress
V[14:37:56.131] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:37:56.131] --> $/progress
V[14:37:56.131] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:37:56.139] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:37:56.141] Reusing preamble version 1 for version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:37:56.146] BackgroundIndex: building version 6 after loading index from disk
V[14:37:56.157] BackgroundIndex: serving version 6 (1810466 bytes)
I[14:37:56.164] --> $/progress
V[14:37:56.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[14:37:56.164] --> $/progress
V[14:37:56.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[14:39:58.512] <<< {"id":"115","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":46,"line":117},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:39:58.512] <-- textDocument/hover("115")
V[14:39:58.513] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:39:58.514] --> reply:textDocument/hover("115") 1 ms
V[14:39:58.514] >>> {"id":"115","jsonrpc":"2.0","result":null}

V[14:39:59.342] <<< {"id":"116","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:39:59.342] <-- textDocument/codeAction("116")
V[14:39:59.342] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:39:59.342] --> reply:textDocument/codeAction("116") 0 ms
V[14:39:59.342] >>> {"id":"116","jsonrpc":"2.0","result":[]}

V[14:40:00.080] <<< {"id":"117","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:40:00.080] <-- textDocument/codeAction("117")
V[14:40:00.080] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:40:00.080] --> reply:textDocument/codeAction("117") 0 ms
V[14:40:00.080] >>> {"id":"117","jsonrpc":"2.0","result":[]}

V[14:40:00.776] <<< {"id":"118","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:40:00.776] <-- textDocument/codeAction("118")
V[14:40:00.777] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:40:00.777] --> reply:textDocument/codeAction("118") 0 ms
V[14:40:00.777] >>> {"id":"118","jsonrpc":"2.0","result":[]}

V[14:40:01.207] <<< {"id":"119","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":119},"start":{"character":23,"line":119}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:40:01.207] <-- textDocument/codeAction("119")
V[14:40:01.207] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:40:01.207] --> reply:textDocument/codeAction("119") 0 ms
V[14:40:01.208] >>> {"id":"119","jsonrpc":"2.0","result":[]}

V[14:40:01.550] <<< {"id":"120","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":120},"start":{"character":24,"line":120}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:40:01.550] <-- textDocument/codeAction("120")
V[14:40:01.550] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:40:01.550] --> reply:textDocument/codeAction("120") 0 ms
V[14:40:01.550] >>> {"id":"120","jsonrpc":"2.0","result":[]}

V[14:41:05.457] <<< {"id":"121","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":15,"line":123},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:05.457] <-- textDocument/hover("121")
V[14:41:05.458] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:05.459] --> reply:textDocument/hover("121") 2 ms
V[14:41:05.459] >>> {"id":"121","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `OUTPUT`  \n\n---\n```cpp\n#define OUTPUT 0x1\n```"},"range":{"end":{"character":21,"line":123},"start":{"character":15,"line":123}}}}

V[14:41:05.816] <<< {"id":"122","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":12,"line":123},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:05.816] <-- textDocument/hover("122")
V[14:41:05.816] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:05.817] --> reply:textDocument/hover("122") 1 ms
V[14:41:05.817] >>> {"id":"122","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `IN3`  \n\n---\n```cpp\n#define IN3 2\n```"},"range":{"end":{"character":13,"line":123},"start":{"character":10,"line":123}}}}

V[14:41:08.136] <<< {"id":"123","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":145},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:08.136] <-- textDocument/hover("123")
V[14:41:08.136] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:08.137] --> reply:textDocument/hover("123") 0 ms
V[14:41:08.137] >>> {"id":"123","jsonrpc":"2.0","result":null}

V[14:41:08.683] <<< {"id":"124","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":12,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:08.683] <-- textDocument/hover("124")
V[14:41:08.683] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:08.684] --> reply:textDocument/hover("124") 1 ms
V[14:41:08.684] >>> {"id":"124","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `middleDistance`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\nint middleDistance = 0\n```"},"range":{"end":{"character":18,"line":135},"start":{"character":4,"line":135}}}}

V[14:41:09.081] <<< {"id":"125","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":1,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:09.081] <-- textDocument/hover("125")
V[14:41:09.081] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:09.082] --> reply:textDocument/hover("125") 0 ms
V[14:41:09.082] >>> {"id":"125","jsonrpc":"2.0","result":null}

V[14:41:09.303] <<< {"id":"126","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":4,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:09.303] <-- textDocument/hover("126")
V[14:41:09.303] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:09.305] --> reply:textDocument/hover("126") 2 ms
V[14:41:09.305] >>> {"id":"126","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `middleDistance`  \n\n---\nType: `int`  \nValue = `0`  \n\n---\n```cpp\nint middleDistance = 0\n```"},"range":{"end":{"character":18,"line":135},"start":{"character":4,"line":135}}}}

V[14:41:09.825] <<< {"id":"127","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":4,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:09.825] <-- textDocument/documentHighlight("127")
V[14:41:09.825] ASTWorker running Highlights on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:09.825] --> reply:textDocument/documentHighlight("127") 0 ms
V[14:41:09.825] >>> {"id":"127","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"kind":3,"range":{"end":{"character":18,"line":135},"start":{"character":4,"line":135}}},{"kind":2,"range":{"end":{"character":21,"line":136},"start":{"character":7,"line":136}}}]}

V[14:41:10.789] <<< {"id":"128","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":135},"start":{"character":4,"line":135}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:10.789] <-- textDocument/codeAction("128")
V[14:41:10.790] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:10.790] --> reply:textDocument/codeAction("128") 1 ms
V[14:41:10.790] >>> {"id":"128","jsonrpc":"2.0","result":[]}

V[14:41:11.181] <<< {"id":"129","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":20,"line":135},"start":{"character":4,"line":135}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:11.181] <-- textDocument/codeAction("129")
V[14:41:11.181] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:11.181] --> reply:textDocument/codeAction("129") 0 ms
V[14:41:11.181] >>> {"id":"129","jsonrpc":"2.0","result":[]}

V[14:41:11.893] <<< {"id":"130","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":19,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:11.893] <-- textDocument/hover("130")
V[14:41:11.893] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:11.894] --> reply:textDocument/hover("130") 1 ms
V[14:41:11.894] >>> {"id":"130","jsonrpc":"2.0","result":null}

V[14:41:12.052] <<< {"id":"131","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":20,"line":135},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:12.052] <-- textDocument/hover("131")
V[14:41:12.052] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:12.053] --> reply:textDocument/hover("131") 0 ms
V[14:41:12.053] >>> {"id":"131","jsonrpc":"2.0","result":null}

V[14:41:12.301] <<< {"id":"132","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":20,"line":136},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:12.301] <-- textDocument/definition("132")
V[14:41:12.301] ASTWorker running Definitions on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:12.302] --> reply:textDocument/definition("132") 0 ms
V[14:41:12.302] >>> {"id":"132","jsonrpc":"2.0","result":[{"range":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}},"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}]}

V[14:41:19.874] <<< {"id":"133","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":131},"start":{"character":1,"line":131}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:19.874] <-- textDocument/codeAction("133")
V[14:41:19.875] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:19.875] --> reply:textDocument/codeAction("133") 1 ms
V[14:41:19.875] >>> {"id":"133","jsonrpc":"2.0","result":[]}

V[14:41:20.854] <<< {"id":"134","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":13,"line":152},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:20.854] <-- textDocument/hover("134")
V[14:41:20.854] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:20.855] --> reply:textDocument/hover("134") 1 ms
V[14:41:20.855] >>> {"id":"134","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `myservo`  \n\n---\nType: `class Servo`  \ncreate servo object to control servo  \n\n---\n```cpp\nServo myservo\n```"},"range":{"end":{"character":15,"line":152},"start":{"character":8,"line":152}}}}

V[14:41:23.876] <<< {"id":"135","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":19,"line":126},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:23.876] <-- textDocument/hover("135")
V[14:41:23.876] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:23.878] --> reply:textDocument/hover("135") 1 ms
V[14:41:23.878] >>> {"id":"135","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `OUTPUT`  \n\n---\n```cpp\n#define OUTPUT 0x1\n```"},"range":{"end":{"character":21,"line":126},"start":{"character":15,"line":126}}}}

V[14:41:24.826] <<< {"id":"136","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:24.826] <-- textDocument/hover("136")
V[14:41:24.826] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:24.827] --> reply:textDocument/hover("136") 1 ms
V[14:41:24.827] >>> {"id":"136","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### variable `Serial`  \n\n---\nType: `class HardwareSerial`  \n\n---\n```cpp\nextern HardwareSerial Serial\n```"},"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}}}

V[14:41:25.069] <<< {"id":"137","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":2,"line":111},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:25.069] <-- textDocument/documentHighlight("137")
V[14:41:25.070] ASTWorker running Highlights on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:25.070] --> reply:textDocument/documentHighlight("137") 1 ms
V[14:41:25.070] >>> {"id":"137","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":8,"line":51},"start":{"character":2,"line":51}}},{"kind":1,"range":{"end":{"character":8,"line":63},"start":{"character":2,"line":63}}},{"kind":1,"range":{"end":{"character":8,"line":76},"start":{"character":2,"line":76}}},{"kind":1,"range":{"end":{"character":8,"line":89},"start":{"character":2,"line":89}}},{"kind":1,"range":{"end":{"character":8,"line":95},"start":{"character":2,"line":95}}},{"kind":1,"range":{"end":{"character":8,"line":111},"start":{"character":2,"line":111}}},{"kind":1,"range":{"end":{"character":8,"line":112},"start":{"character":2,"line":112}}},{"kind":1,"range":{"end":{"character":8,"line":118},"start":{"character":2,"line":118}}}]}

V[14:41:26.066] <<< {"id":"138","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:41:26.066] <-- textDocument/codeAction("138")
V[14:41:26.067] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:41:26.067] --> reply:textDocument/codeAction("138") 0 ms
V[14:41:26.067] >>> {"id":"138","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":76,"line":112},"start":{"character":2,"line":111}},"tweakID":"ExtractFunction"}],"command":"clangd.applyTweak","title":"Extract to function"},"kind":"refactor","title":"Extract to function"}]}

V[14:42:25.750] <<< {"id":"139","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":14,"line":8},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:25.750] <-- textDocument/hover("139")
V[14:42:25.751] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:25.752] --> reply:textDocument/hover("139") 1 ms
V[14:42:25.752] >>> {"id":"139","jsonrpc":"2.0","result":null}

V[14:42:26.594] <<< {"id":"140","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":15,"line":8},"start":{"character":1,"line":8}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:26.594] <-- textDocument/codeAction("140")
V[14:42:26.594] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:26.594] --> reply:textDocument/codeAction("140") 0 ms
V[14:42:26.594] >>> {"id":"140","jsonrpc":"2.0","result":[]}

V[14:42:26.972] <<< {"id":"141","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":15,"line":8},"start":{"character":0,"line":8}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:26.972] <-- textDocument/codeAction("141")
V[14:42:26.972] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:26.972] --> reply:textDocument/codeAction("141") 0 ms
V[14:42:26.972] >>> {"id":"141","jsonrpc":"2.0","result":[]}

V[14:42:36.004] <<< {"id":"142","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":26,"line":11},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:36.004] <-- textDocument/documentHighlight("142")
V[14:42:36.006] ASTWorker running Highlights on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:36.006] --> reply:textDocument/documentHighlight("142") 1 ms
V[14:42:36.006] >>> {"id":"142","jsonrpc":"2.0","result":[]}

V[14:42:36.601] <<< {"id":"143","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":11},"start":{"character":0,"line":10}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:36.601] <-- textDocument/codeAction("143")
V[14:42:36.601] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:36.601] --> reply:textDocument/codeAction("143") 0 ms
V[14:42:36.602] >>> {"id":"143","jsonrpc":"2.0","result":[]}

V[14:42:44.882] <<< {"id":"144","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":60,"line":22},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:44.882] <-- textDocument/hover("144")
V[14:42:44.883] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:44.883] --> reply:textDocument/hover("144") 1 ms
V[14:42:44.883] >>> {"id":"144","jsonrpc":"2.0","result":null}

V[14:42:46.072] <<< {"id":"145","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":60,"line":22},"start":{"character":0,"line":22}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:42:46.072] <-- textDocument/codeAction("145")
V[14:42:46.073] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:42:46.073] --> reply:textDocument/codeAction("145") 0 ms
V[14:42:46.073] >>> {"id":"145","jsonrpc":"2.0","result":[]}

V[14:43:16.674] <<< {"id":"146","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":10,"line":71},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:43:16.674] <-- textDocument/hover("146")
V[14:43:16.675] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:43:16.676] --> reply:textDocument/hover("146") 2 ms
V[14:43:16.676] >>> {"id":"146","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":14,"line":71},"start":{"character":2,"line":71}}}}

V[14:43:40.340] <<< {"id":"147","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":27,"line":21},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:43:40.340] <-- textDocument/hover("147")
V[14:43:40.341] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:43:40.342] --> reply:textDocument/hover("147") 1 ms
V[14:43:40.342] >>> {"id":"147","jsonrpc":"2.0","result":null}

V[14:43:41.555] <<< {"id":"148","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":8},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:43:41.555] <-- textDocument/hover("148")
V[14:43:41.555] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:43:41.556] --> reply:textDocument/hover("148") 0 ms
V[14:43:41.556] >>> {"id":"148","jsonrpc":"2.0","result":null}

V[14:43:41.754] <<< {"id":"149","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":18,"line":7},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:43:41.754] <-- textDocument/hover("149")
V[14:43:41.755] ASTWorker running Hover on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:43:41.755] --> reply:textDocument/hover("149") 0 ms
V[14:43:41.755] >>> {"id":"149","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### `Servo.h`  \n\n---\n```\nD:\\Arduino\\libraries\\Servo\\src\\Servo.h\n```"}}}

V[14:43:42.392] <<< {"id":"150","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":18,"line":7},"start":{"character":0,"line":7}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:43:42.392] <-- textDocument/codeAction("150")
V[14:43:42.392] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:43:42.392] --> reply:textDocument/codeAction("150") 0 ms
V[14:43:42.392] >>> {"id":"150","jsonrpc":"2.0","result":[]}

V[14:56:38.269] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[14:56:38.269] <-- textDocument/didSave
I[14:56:38.269] File version went from 10 to 10
V[14:56:38.269] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp","version":11}}}

I[14:56:38.269] <-- textDocument/didChange
V[14:56:38.269] ASTWorker skipping Update (10) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[14:56:38.344] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\compile_commands.json
V[14:56:38.345] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378
I[14:56:38.345] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp version 11 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
I[14:56:38.350] --> window/workDoneProgress/create(4)
V[14:56:38.350] >>> {"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:56:38.351] Enqueueing 26 commands for indexing
V[14:56:38.352] <<< {"id":4,"jsonrpc":"2.0","result":null}

I[14:56:38.352] <-- reply(4)
I[14:56:38.352] --> $/progress
V[14:56:38.352] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:56:38.352] --> $/progress
V[14:56:38.353] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:56:38.368] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server2485183378\\sketch\\HC-SR04.ino.cpp"
V[14:56:38.371] Reusing preamble version 1 for version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
V[14:56:38.378] BackgroundIndex: building version 7 after loading index from disk
V[14:56:38.389] BackgroundIndex: serving version 7 (1810466 bytes)
I[14:56:38.395] --> $/progress
V[14:56:38.395] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[14:56:38.395] --> $/progress
V[14:56:38.395] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:12:31.757] <<< {"id":"151","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":54,"line":93},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:12:31.757] <-- textDocument/hover("151")
V[15:12:31.758] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:12:31.758] --> reply:textDocument/hover("151") 1 ms
V[15:12:31.758] >>> {"id":"151","jsonrpc":"2.0","result":null}

V[15:12:31.952] <<< {"id":"152","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":52,"line":94},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:12:31.952] <-- textDocument/hover("152")
V[15:12:31.952] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:12:31.953] --> reply:textDocument/hover("152") 1 ms
V[15:12:31.953] >>> {"id":"152","jsonrpc":"2.0","result":null}

V[15:12:32.153] <<< {"id":"153","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":51,"line":93},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:12:32.153] <-- textDocument/hover("153")
V[15:12:32.153] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:12:32.154] --> reply:textDocument/hover("153") 0 ms
V[15:12:32.154] >>> {"id":"153","jsonrpc":"2.0","result":null}

V[15:12:38.505] <<< {"id":"154","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":70},"start":{"character":26,"line":70}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:12:38.505] <-- textDocument/codeAction("154")
V[15:12:38.510] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:12:38.510] --> reply:textDocument/codeAction("154") 4 ms
V[15:12:38.510] >>> {"id":"154","jsonrpc":"2.0","result":[]}

V[15:12:39.792] <<< {"id":"155","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":63},"start":{"character":25,"line":63}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:12:39.792] <-- textDocument/codeAction("155")
V[15:12:39.792] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:12:39.792] --> reply:textDocument/codeAction("155") 0 ms
V[15:12:39.792] >>> {"id":"155","jsonrpc":"2.0","result":[]}

V[15:13:43.678] <<< {"id":"156","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:13:43.678] <-- textDocument/codeAction("156")
V[15:13:43.679] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:13:43.679] --> reply:textDocument/codeAction("156") 1 ms
V[15:13:43.679] >>> {"id":"156","jsonrpc":"2.0","result":[]}

V[15:14:37.008] <<< {"id":"157","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":17,"line":18},"start":{"character":0,"line":13}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:14:37.009] <-- textDocument/codeAction("157")
V[15:14:37.010] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:14:37.010] --> reply:textDocument/codeAction("157") 1 ms
V[15:14:37.010] >>> {"id":"157","jsonrpc":"2.0","result":[]}

V[15:15:36.847] <<< {"id":"158","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":51,"line":55},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:36.847] <-- textDocument/hover("158")
V[15:15:36.848] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:36.849] --> reply:textDocument/hover("158") 2 ms
V[15:15:36.849] >>> {"id":"158","jsonrpc":"2.0","result":null}

V[15:15:36.893] <<< {"id":"159","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":51,"line":55},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:36.893] <-- textDocument/documentHighlight("159")
V[15:15:36.893] ASTWorker running Highlights on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:36.893] --> reply:textDocument/documentHighlight("159") 0 ms
V[15:15:36.893] >>> {"id":"159","jsonrpc":"2.0","result":[]}

V[15:15:37.141] <<< {"id":"160","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":51,"line":55},"start":{"character":51,"line":55}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:37.141] <-- textDocument/codeAction("160")
V[15:15:37.141] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:37.141] --> reply:textDocument/codeAction("160") 0 ms
V[15:15:37.141] >>> {"id":"160","jsonrpc":"2.0","result":[]}

V[15:15:37.630] <<< {"id":"161","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":51,"line":56},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:37.630] <-- textDocument/documentHighlight("161")
V[15:15:37.630] ASTWorker running Highlights on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:37.630] --> reply:textDocument/documentHighlight("161") 0 ms
V[15:15:37.630] >>> {"id":"161","jsonrpc":"2.0","result":[]}

V[15:15:37.879] <<< {"id":"162","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":51,"line":56},"start":{"character":51,"line":56}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:37.879] <-- textDocument/codeAction("162")
V[15:15:37.879] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:37.879] --> reply:textDocument/codeAction("162") 0 ms
V[15:15:37.879] >>> {"id":"162","jsonrpc":"2.0","result":[]}

V[15:15:41.032] <<< {"id":"163","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":41,"line":81},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:41.032] <-- textDocument/hover("163")
V[15:15:41.032] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:41.034] --> reply:textDocument/hover("163") 1 ms
V[15:15:41.034] >>> {"id":"163","jsonrpc":"2.0","result":null}

V[15:15:41.526] <<< {"id":"164","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":41,"line":81},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:41.526] <-- textDocument/hover("164")
V[15:15:41.526] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:41.527] --> reply:textDocument/hover("164") 1 ms
V[15:15:41.527] >>> {"id":"164","jsonrpc":"2.0","result":null}

V[15:15:50.534] <<< {"id":"165","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":40,"line":56},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:50.534] <-- textDocument/hover("165")
V[15:15:50.535] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:50.536] --> reply:textDocument/hover("165") 1 ms
V[15:15:50.536] >>> {"id":"165","jsonrpc":"2.0","result":null}

V[15:15:51.226] <<< {"id":"166","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":39,"line":56},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:15:51.226] <-- textDocument/hover("166")
V[15:15:51.226] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:15:51.227] --> reply:textDocument/hover("166") 1 ms
V[15:15:51.227] >>> {"id":"166","jsonrpc":"2.0","result":null}

V[15:17:57.860] <<< {"id":"167","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":74},"start":{"character":26,"line":74}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:17:57.860] <-- textDocument/codeAction("167")
V[15:17:57.861] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:17:57.861] --> reply:textDocument/codeAction("167") 1 ms
V[15:17:57.861] >>> {"id":"167","jsonrpc":"2.0","result":[]}

V[15:17:59.717] <<< {"id":"168","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":84},"start":{"character":26,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:17:59.717] <-- textDocument/codeAction("168")
V[15:17:59.717] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:17:59.717] --> reply:textDocument/codeAction("168") 0 ms
V[15:17:59.717] >>> {"id":"168","jsonrpc":"2.0","result":[]}

V[15:18:00.184] <<< {"id":"169","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":83},"start":{"character":25,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:00.184] <-- textDocument/codeAction("169")
V[15:18:00.184] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:00.184] --> reply:textDocument/codeAction("169") 0 ms
V[15:18:00.184] >>> {"id":"169","jsonrpc":"2.0","result":[]}

V[15:18:00.546] <<< {"id":"170","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":84},"start":{"character":26,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:00.546] <-- textDocument/codeAction("170")
V[15:18:00.546] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:00.546] --> reply:textDocument/codeAction("170") 0 ms
V[15:18:00.546] >>> {"id":"170","jsonrpc":"2.0","result":[]}

V[15:18:00.706] <<< {"id":"171","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":21,"line":85},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:00.706] <-- textDocument/documentHighlight("171")
V[15:18:00.706] ASTWorker running Highlights on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:00.706] --> reply:textDocument/documentHighlight("171") 0 ms
V[15:18:00.706] >>> {"id":"171","jsonrpc":"2.0","result":[]}

V[15:18:00.958] <<< {"id":"172","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":21,"line":85},"start":{"character":21,"line":85}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:00.958] <-- textDocument/codeAction("172")
V[15:18:00.958] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:00.958] --> reply:textDocument/codeAction("172") 0 ms
V[15:18:00.958] >>> {"id":"172","jsonrpc":"2.0","result":[]}

V[15:18:01.541] <<< {"id":"173","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":86},"start":{"character":26,"line":86}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:01.542] <-- textDocument/codeAction("173")
V[15:18:01.542] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:01.542] --> reply:textDocument/codeAction("173") 0 ms
V[15:18:01.542] >>> {"id":"173","jsonrpc":"2.0","result":[]}

V[15:18:02.006] <<< {"id":"174","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":87},"start":{"character":25,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:02.006] <-- textDocument/codeAction("174")
V[15:18:02.006] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:02.006] --> reply:textDocument/codeAction("174") 0 ms
V[15:18:02.006] >>> {"id":"174","jsonrpc":"2.0","result":[]}

V[15:18:02.334] <<< {"id":"175","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":86},"start":{"character":26,"line":86}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:02.334] <-- textDocument/codeAction("175")
V[15:18:02.334] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:02.334] --> reply:textDocument/codeAction("175") 0 ms
V[15:18:02.334] >>> {"id":"175","jsonrpc":"2.0","result":[]}

V[15:18:02.694] <<< {"id":"176","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":84},"start":{"character":26,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:02.694] <-- textDocument/codeAction("176")
V[15:18:02.694] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:02.694] --> reply:textDocument/codeAction("176") 0 ms
V[15:18:02.694] >>> {"id":"176","jsonrpc":"2.0","result":[]}

V[15:18:03.071] <<< {"id":"177","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":83},"start":{"character":25,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:03.071] <-- textDocument/codeAction("177")
V[15:18:03.075] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:03.075] --> reply:textDocument/codeAction("177") 4 ms
V[15:18:03.075] >>> {"id":"177","jsonrpc":"2.0","result":[]}

V[15:18:03.442] <<< {"id":"178","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":84},"start":{"character":26,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:03.442] <-- textDocument/codeAction("178")
V[15:18:03.442] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:03.442] --> reply:textDocument/codeAction("178") 0 ms
V[15:18:03.442] >>> {"id":"178","jsonrpc":"2.0","result":[]}

V[15:18:03.793] <<< {"id":"179","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":86},"start":{"character":26,"line":86}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:03.793] <-- textDocument/codeAction("179")
V[15:18:03.794] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:03.794] --> reply:textDocument/codeAction("179") 0 ms
V[15:18:03.794] >>> {"id":"179","jsonrpc":"2.0","result":[]}

V[15:18:04.471] <<< {"id":"180","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":87},"start":{"character":25,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server2485183378/sketch/HC-SR04.ino.cpp"}}}

I[15:18:04.471] <-- textDocument/codeAction("180")
V[15:18:04.471] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server2485183378\sketch\HC-SR04.ino.cpp
I[15:18:04.471] --> reply:textDocument/codeAction("180") 0 ms
V[15:18:04.471] >>> {"id":"180","jsonrpc":"2.0","result":[]}

V[15:23:00.492] <<< {"id":"181","jsonrpc":"2.0","method":"shutdown","params":null}

I[15:23:00.492] <-- shutdown("181")
I[15:23:00.492] --> reply:shutdown("181") 0 ms
V[15:23:00.492] >>> {"id":"181","jsonrpc":"2.0","result":null}

V[15:23:00.493] <<< {"jsonrpc":"2.0","method":"exit","params":null}

I[15:23:00.493] <-- exit
I[15:23:00.493] LSP finished, exiting with status 0







Started logging.
I[15:24:59.211] clangd version 14.0.0
I[15:24:59.212] Features: windows
I[15:24:59.212] PID: 7444
I[15:24:59.212] Working directory: e:\5-教程\1.tutorial\ZYC0068四循小车教程\新写的教程综合\3_代码\HC-SR04
I[15:24:59.212] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[15:24:59.212] argv[1]: -log=verbose
I[15:24:59.212] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:24:59.212] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[15:24:59.218] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[15:24:59.218] Starting LSP over stdin/stdout
V[15:24:59.218] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":12044,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch","trace":"off","workspaceFolders":[{"name":"HC-SR04","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0068%E5%9B%9B%E5%BE%AA%E5%B0%8F%E8%BD%A6%E6%95%99%E7%A8%8B/%E6%96%B0%E5%86%99%E7%9A%84%E6%95%99%E7%A8%8B%E7%BB%BC%E5%90%88/3_%E4%BB%A3%E7%A0%81/HC-SR04"}]}}

I[15:24:59.218] <-- initialize("1")
I[15:24:59.235] --> reply:initialize("1") 16 ms
V[15:24:59.235] >>> {"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"}}}

V[15:24:59.236] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[15:24:59.236] <-- initialized
V[15:24:59.237] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":1}}}

I[15:24:59.237] <-- textDocument/didOpen
V[15:24:59.239] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":87},"start":{"character":25,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:24:59.239] <-- textDocument/codeAction("2")
V[15:24:59.239] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\.clangd:1:0: Parsing config fragment
V[15:24:59.239] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\.clangd:1:0: Parsed 1 fragments from file
V[15:24:59.239] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\.clangd:1 -> 0x0000022EC25AE1F0 (trusted=false)
I[15:24:59.239] --> textDocument/publishDiagnostics
V[15:24:59.239] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/.clangd"}}

I[15:24:59.240] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:24:59.240] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:24:59.241] --> window/workDoneProgress/create(0)
V[15:24:59.241] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:24:59.241] Enqueueing 26 commands for indexing
V[15:24:59.241] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[15:24:59.241] <-- reply(0)
I[15:24:59.241] --> $/progress
V[15:24:59.241] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:24:59.241] --> $/progress
V[15:24:59.242] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[15:24:59.242] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[15:24:59.243] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[15:24:59.243] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[15:24:59.243] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[15:24:59.243] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[15:24:59.245] --> $/progress
V[15:24:59.245] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[15:24:59.285] System include extraction: target extracted: "avr"
V[15:24:59.285] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.285] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.285] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.285] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[15:24:59.286] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 1 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:24:59.287] System include extraction: target extracted: "avr"
V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.287] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.287] System include extraction: target extracted: "avr"
V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.287] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.287] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.288] System include extraction: target extracted: "avr"
V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.288] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.288] System include extraction: target extracted: "avr"
V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.288] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
V[15:24:59.288] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.288] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.288] System include extraction: target extracted: "avr"
V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.288] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.288] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.288] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
V[15:24:59.289] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
V[15:24:59.289] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
V[15:24:59.295] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:24:59.295] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 1
V[15:24:59.297] System include extraction: target extracted: "avr"
V[15:24:59.298] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.298] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.298] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.298] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.299] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[15:24:59.307] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[15:24:59.310] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
V[15:24:59.357] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 2529 symbols, 722462 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
I[15:24:59.357] --> $/progress
V[15:24:59.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[15:24:59.357] --> $/progress
V[15:24:59.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[15:24:59.360] --> $/progress
V[15:24:59.361] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[15:24:59.361] --> $/progress
V[15:24:59.361] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[15:24:59.361] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
I[15:24:59.365] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (600 symbols, 3432 refs, 36 files)
I[15:24:59.367] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (600 symbols, 3544 refs, 35 files)
I[15:24:59.373] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (602 symbols, 3436 refs, 35 files)
I[15:24:59.380] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (604 symbols, 3716 refs, 38 files)
V[15:24:59.389] Build dynamic index for header symbols with estimated memory usage of 2176938 bytes
V[15:24:59.390] Built preamble of size 432588 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 1
V[15:24:59.393] System include extraction: target extracted: "avr"
V[15:24:59.393] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:24:59.393] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:24:59.393] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:24:59.393] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:24:59.393] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
V[15:24:59.415] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:24:59.415] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:24:59.415] --> textDocument/publishDiagnostics
V[15:24:59.415] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":1}}

V[15:24:59.416] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:24:59.416] --> reply:textDocument/codeAction("2") 176 ms
V[15:24:59.416] >>> {"id":"2","jsonrpc":"2.0","result":[]}

V[15:24:59.416] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:24:59.416] <-- textDocument/documentSymbol("3")
V[15:24:59.416] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:24:59.418] --> reply:textDocument/documentSymbol("3") 1 ms
V[15:24:59.418] >>> {"id":"3","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:24:59.433] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (269 symbols, 2638 refs, 25 files)
I[15:24:59.434] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (560 symbols, 3445 refs, 37 files)
I[15:24:59.923] --> $/progress
V[15:24:59.923] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[15:24:59.923] --> $/progress
V[15:24:59.923] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[15:24:59.934] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
I[15:24:59.999] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (2 symbols, 2141 refs, 25 files)
I[15:25:00.009] --> $/progress
V[15:25:00.009] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[15:25:00.009] --> $/progress
V[15:25:00.009] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[15:25:00.011] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
I[15:25:00.042] --> $/progress
V[15:25:00.042] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[15:25:00.042] --> $/progress
V[15:25:00.042] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[15:25:00.042] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
V[15:25:00.053] BackgroundIndex: building version 1 after indexing enough files
I[15:25:00.054] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (4 symbols, 2292 refs, 37 files)
V[15:25:00.062] BackgroundIndex: serving version 1 (1457882 bytes)
I[15:25:00.063] --> $/progress
V[15:25:00.063] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[15:25:00.063] --> $/progress
V[15:25:00.063] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[15:25:00.064] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[15:25:00.074] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (2 symbols, 2115 refs, 25 files)
I[15:25:00.078] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[15:25:00.101] --> $/progress
V[15:25:00.101] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[15:25:00.101] --> $/progress
V[15:25:00.101] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[15:25:00.102] --> $/progress
V[15:25:00.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[15:25:00.102] --> $/progress
V[15:25:00.102] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[15:25:00.102] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
V[15:25:00.104] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[15:25:00.104] --> $/progress
V[15:25:00.104] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[15:25:00.104] --> $/progress
V[15:25:00.104] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[15:25:00.105] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
I[15:25:00.147] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (20 symbols, 2357 refs, 36 files)
I[15:25:00.152] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (26 symbols, 2373 refs, 35 files)
I[15:25:00.154] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (84 symbols, 1925 refs, 18 files)
I[15:25:00.164] --> $/progress
V[15:25:00.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[15:25:00.164] --> $/progress
V[15:25:00.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[15:25:00.165] --> $/progress
V[15:25:00.165] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[15:25:00.165] --> $/progress
V[15:25:00.165] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[15:25:00.166] --> $/progress
V[15:25:00.166] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[15:25:00.166] --> $/progress
V[15:25:00.166] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

V[15:25:00.166] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp (digest:=7747668C86F59B36)
V[15:25:00.167] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[15:25:00.167] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
V[15:25:00.205] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[15:25:00.206] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[15:25:00.211] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (2 symbols, 2301 refs, 37 files)
I[15:25:00.211] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[15:25:00.212] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (0 symbols, 2251 refs, 37 files)
I[15:25:00.221] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp (35 symbols, 2415 refs, 37 files)
I[15:25:00.257] --> $/progress
V[15:25:00.257] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[15:25:00.257] --> $/progress
V[15:25:00.257] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[15:25:00.258] --> $/progress
V[15:25:00.258] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[15:25:00.258] --> $/progress
V[15:25:00.258] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

V[15:25:00.259] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
V[15:25:00.259] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
I[15:25:00.295] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (4 symbols, 2340 refs, 25 files)
I[15:25:00.300] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (0 symbols, 2222 refs, 36 files)
I[15:25:00.320] --> $/progress
V[15:25:00.320] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[15:25:00.320] --> $/progress
V[15:25:00.320] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[15:25:00.329] --> $/progress
V[15:25:00.329] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[15:25:00.329] --> $/progress
V[15:25:00.329] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[15:25:00.331] --> $/progress
V[15:25:00.331] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[15:25:00.331] --> $/progress
V[15:25:00.331] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[15:25:00.331] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[15:25:00.334] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[15:25:00.351] --> $/progress
V[15:25:00.351] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[15:25:00.351] --> $/progress
V[15:25:00.351] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

V[15:25:00.366] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[15:25:00.367] --> $/progress
V[15:25:00.367] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[15:25:00.367] --> $/progress
V[15:25:00.367] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[15:25:00.368] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[15:25:00.368] --> $/progress
V[15:25:00.368] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[15:25:00.368] --> $/progress
V[15:25:00.369] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[15:25:00.370] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[15:25:00.371] --> $/progress
V[15:25:00.372] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

V[15:25:00.375] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[15:25:00.398] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (4 symbols, 2201 refs, 25 files)
V[15:25:00.399] System include extraction: target extracted: "avr"
V[15:25:00.399] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[15:25:00.399] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[15:25:00.399] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[15:25:00.399] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[15:25:00.400] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
I[15:25:00.402] --> $/progress
V[15:25:00.402] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[15:25:00.413] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[15:25:00.414] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[15:25:00.415] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[15:25:00.415] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[15:25:00.415] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[15:25:00.415] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[15:25:00.415] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[15:25:00.415] Ignored diagnostic. too many errors emitted, stopping now
I[15:25:00.417] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[15:25:00.417] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[15:25:00.418] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (8 symbols, 2247 refs, 25 files)
I[15:25:00.419] --> $/progress
V[15:25:00.419] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[15:25:00.422] --> $/progress
V[15:25:00.422] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[15:25:00.423] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (0 symbols, 2251 refs, 37 files)
I[15:25:00.427] --> $/progress
V[15:25:00.427] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

I[15:25:00.433] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (15 symbols, 2449 refs, 35 files)
V[15:25:00.437] BackgroundIndex: building version 2 when background indexer is idle
V[15:25:00.449] BackgroundIndex: serving version 2 (1813146 bytes)
I[15:25:00.450] --> $/progress
V[15:25:00.450] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:25:17.035] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":59},"start":{"character":26,"line":59}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:25:17.035] <-- textDocument/codeAction("4")
V[15:25:17.036] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:25:17.036] --> reply:textDocument/codeAction("4") 1 ms
V[15:25:17.036] >>> {"id":"4","jsonrpc":"2.0","result":[]}

V[15:25:17.501] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":62},"start":{"character":26,"line":62}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:25:17.501] <-- textDocument/codeAction("5")
V[15:25:17.502] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:25:17.502] --> reply:textDocument/codeAction("5") 0 ms
V[15:25:17.502] >>> {"id":"5","jsonrpc":"2.0","result":[]}

V[15:25:18.962] <<< {"id":"6","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":70},"start":{"character":26,"line":70}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:25:18.962] <-- textDocument/codeAction("6")
V[15:25:18.962] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:25:18.962] --> reply:textDocument/codeAction("6") 0 ms
V[15:25:18.962] >>> {"id":"6","jsonrpc":"2.0","result":[]}

V[15:26:15.668] <<< {"id":"7","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":71},"start":{"character":25,"line":71}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:15.668] <-- textDocument/codeAction("7")
V[15:26:15.669] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:15.669] --> reply:textDocument/codeAction("7") 1 ms
V[15:26:15.669] >>> {"id":"7","jsonrpc":"2.0","result":[]}

V[15:26:16.152] <<< {"id":"8","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":73},"start":{"character":25,"line":73}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:16.152] <-- textDocument/codeAction("8")
V[15:26:16.152] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:16.152] --> reply:textDocument/codeAction("8") 0 ms
V[15:26:16.152] >>> {"id":"8","jsonrpc":"2.0","result":[]}

V[15:26:16.901] <<< {"id":"9","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":74},"start":{"character":26,"line":74}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:16.901] <-- textDocument/codeAction("9")
V[15:26:16.901] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:16.901] --> reply:textDocument/codeAction("9") 0 ms
V[15:26:16.901] >>> {"id":"9","jsonrpc":"2.0","result":[]}

V[15:26:23.266] <<< {"id":"10","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":73},"start":{"character":25,"line":73}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:23.266] <-- textDocument/codeAction("10")
V[15:26:23.268] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:23.268] --> reply:textDocument/codeAction("10") 1 ms
V[15:26:23.268] >>> {"id":"10","jsonrpc":"2.0","result":[]}

V[15:26:25.022] <<< {"id":"11","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":74},"start":{"character":26,"line":74}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:25.022] <-- textDocument/codeAction("11")
V[15:26:25.022] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:25.022] --> reply:textDocument/codeAction("11") 0 ms
V[15:26:25.022] >>> {"id":"11","jsonrpc":"2.0","result":[]}

V[15:26:30.795] <<< {"id":"12","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:30.795] <-- textDocument/hover("12")
V[15:26:30.796] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:30.797] --> reply:textDocument/hover("12") 2 ms
V[15:26:30.797] >>> {"id":"12","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":83},"start":{"character":20,"line":83}}}}

V[15:26:30.799] <<< {"id":"13","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:30.799] <-- textDocument/documentHighlight("13")
V[15:26:30.799] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:30.800] --> reply:textDocument/documentHighlight("13") 0 ms
V[15:26:30.800] >>> {"id":"13","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":14,"line":45},"start":{"character":2,"line":45}}},{"kind":1,"range":{"end":{"character":14,"line":46},"start":{"character":2,"line":46}}},{"kind":1,"range":{"end":{"character":14,"line":48},"start":{"character":2,"line":48}}},{"kind":1,"range":{"end":{"character":14,"line":49},"start":{"character":2,"line":49}}},{"kind":1,"range":{"end":{"character":14,"line":58},"start":{"character":2,"line":58}}},{"kind":1,"range":{"end":{"character":14,"line":59},"start":{"character":2,"line":59}}},{"kind":1,"range":{"end":{"character":14,"line":61},"start":{"character":2,"line":61}}},{"kind":1,"range":{"end":{"character":14,"line":62},"start":{"character":2,"line":62}}},{"kind":1,"range":{"end":{"character":14,"line":70},"start":{"character":2,"line":70}}},{"kind":1,"range":{"end":{"character":14,"line":71},"start":{"character":2,"line":71}}},{"kind":1,"range":{"end":{"character":14,"line":73},"start":{"character":2,"line":73}}},{"kind":1,"range":{"end":{"character":14,"line":74},"start":{"character":2,"line":74}}},{"kind":1,"range":{"end":{"character":14,"line":83},"start":{"character":2,"line":83}}},{"kind":1,"range":{"end":{"character":14,"line":84},"start":{"character":2,"line":84}}},{"kind":1,"range":{"end":{"character":14,"line":86},"start":{"character":2,"line":86}}},{"kind":1,"range":{"end":{"character":14,"line":87},"start":{"character":2,"line":87}}},{"kind":1,"range":{"end":{"character":14,"line":93},"start":{"character":2,"line":93}}},{"kind":1,"range":{"end":{"character":14,"line":94},"start":{"character":2,"line":94}}},{"kind":1,"range":{"end":{"character":14,"line":104},"start":{"character":2,"line":104}}},{"kind":1,"range":{"end":{"character":14,"line":106},"start":{"character":2,"line":106}}},{"kind":1,"range":{"end":{"character":14,"line":108},"start":{"character":2,"line":108}}}]}

V[15:26:31.036] <<< {"id":"14","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":83},"start":{"character":23,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:31.036] <-- textDocument/codeAction("14")
V[15:26:31.036] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:31.036] --> reply:textDocument/codeAction("14") 0 ms
V[15:26:31.036] >>> {"id":"14","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":83},"start":{"character":23,"line":83}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}

V[15:26:31.496] <<< {"id":"15","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":24,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:31.496] <-- textDocument/hover("15")
V[15:26:31.496] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:31.498] --> reply:textDocument/hover("15") 1 ms
V[15:26:31.498] >>> {"id":"15","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":25,"line":83},"start":{"character":24,"line":83}}}}

V[15:26:31.761] <<< {"id":"16","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":26,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:31.761] <-- textDocument/hover("16")
V[15:26:31.761] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:31.762] --> reply:textDocument/hover("16") 0 ms
V[15:26:31.762] >>> {"id":"16","jsonrpc":"2.0","result":null}

V[15:26:32.102] <<< {"id":"17","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":84},"start":{"character":26,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:26:32.102] <-- textDocument/codeAction("17")
V[15:26:32.102] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:26:32.102] --> reply:textDocument/codeAction("17") 0 ms
V[15:26:32.102] >>> {"id":"17","jsonrpc":"2.0","result":[]}

V[15:27:18.314] <<< {"id":"18","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":70},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:18.314] <-- textDocument/hover("18")
V[15:27:18.316] ASTWorker running Hover on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:18.317] --> reply:textDocument/hover("18") 2 ms
V[15:27:18.317] >>> {"id":"18","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}}}}

V[15:27:18.375] <<< {"id":"19","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":70},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:18.375] <-- textDocument/documentHighlight("19")
V[15:27:18.376] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:18.376] --> reply:textDocument/documentHighlight("19") 0 ms
V[15:27:18.376] >>> {"id":"19","jsonrpc":"2.0","result":[]}

V[15:27:18.781] <<< {"id":"20","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:18.781] <-- textDocument/codeAction("20")
V[15:27:18.781] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:18.781] --> reply:textDocument/codeAction("20") 0 ms
V[15:27:18.781] >>> {"id":"20","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:20.788] <<< {"id":"21","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":71},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:20.788] <-- textDocument/documentHighlight("21")
V[15:27:20.788] ASTWorker running Highlights on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:20.788] --> reply:textDocument/documentHighlight("21") 0 ms
V[15:27:20.788] >>> {"id":"21","jsonrpc":"2.0","result":[]}

V[15:27:21.102] <<< {"id":"22","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":71},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:21.102] <-- textDocument/definition("22")
V[15:27:21.102] ASTWorker running Definitions on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:21.102] --> reply:textDocument/definition("22") 0 ms
V[15:27:21.102] >>> {"id":"22","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"}]}

V[15:27:21.186] <<< {"id":"23","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":71},"start":{"character":20,"line":71}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:21.186] <-- textDocument/codeAction("23")
V[15:27:21.187] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:21.187] --> reply:textDocument/codeAction("23") 0 ms
V[15:27:21.187] >>> {"id":"23","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":71},"start":{"character":20,"line":71}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":71},"start":{"character":20,"line":71}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:21.269] <<< {"id":"24","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:21.269] <-- textDocument/documentSymbol("24")
V[15:27:21.269] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:21.270] --> reply:textDocument/documentSymbol("24") 0 ms
V[15:27:21.270] >>> {"id":"24","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:21.289] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":71},"start":{"character":20,"line":71}},"text":"HIGH"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":2}}}

I[15:27:21.289] <-- textDocument/didChange
V[15:27:21.290] <<< {"id":"25","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:21.290] <-- textDocument/documentSymbol("25")
I[15:27:21.291] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 2 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:21.298] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:21.300] Reusing preamble version 1 for version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:21.305] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 2
V[15:27:21.327] ASTWorker running DocumentSymbols on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:21.327] --> reply:textDocument/documentSymbol("25") 37 ms
V[15:27:21.328] >>> {"id":"25","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:21.328] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:21.329] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 2:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:21.329] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:21.329] --> textDocument/publishDiagnostics
V[15:27:21.329] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":2}}

V[15:27:21.519] <<< {"id":"26","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":71},"start":{"character":24,"line":71}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:21.519] <-- textDocument/codeAction("26")
V[15:27:21.519] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:21.519] --> reply:textDocument/codeAction("26") 0 ms
V[15:27:21.519] >>> {"id":"26","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":71},"start":{"character":24,"line":71}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}

V[15:27:22.084] <<< {"id":"27","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":74},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:22.084] <-- textDocument/hover("27")
V[15:27:22.084] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:22.088] --> reply:textDocument/hover("27") 3 ms
V[15:27:22.088] >>> {"id":"27","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":74},"start":{"character":20,"line":74}}}}

V[15:27:22.377] <<< {"id":"28","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":73},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:22.377] <-- textDocument/hover("28")
V[15:27:22.377] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:22.378] --> reply:textDocument/hover("28") 1 ms
V[15:27:22.378] >>> {"id":"28","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":73},"start":{"character":20,"line":73}}}}

V[15:27:22.643] <<< {"id":"29","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":73},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:22.643] <-- textDocument/documentHighlight("29")
V[15:27:22.644] ASTWorker running Highlights on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:22.644] --> reply:textDocument/documentHighlight("29") 0 ms
V[15:27:22.644] >>> {"id":"29","jsonrpc":"2.0","result":[]}

V[15:27:22.937] <<< {"id":"30","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":73},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:22.937] <-- textDocument/definition("30")
V[15:27:22.937] ASTWorker running Definitions on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:22.938] --> reply:textDocument/definition("30") 0 ms
V[15:27:22.938] >>> {"id":"30","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"}]}

V[15:27:23.058] <<< {"id":"31","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":73},"start":{"character":20,"line":73}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:23.058] <-- textDocument/codeAction("31")
V[15:27:23.058] ASTWorker running EnumerateTweaks on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:23.058] --> reply:textDocument/codeAction("31") 0 ms
V[15:27:23.059] >>> {"id":"31","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":73},"start":{"character":20,"line":73}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":73},"start":{"character":20,"line":73}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:23.788] <<< {"id":"32","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":70},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:23.789] <-- textDocument/hover("32")
V[15:27:23.790] ASTWorker running Hover on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:23.791] --> reply:textDocument/hover("32") 2 ms
V[15:27:23.791] >>> {"id":"32","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}}}}

V[15:27:23.927] <<< {"id":"33","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":70},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:23.927] <-- textDocument/documentHighlight("33")
V[15:27:23.927] ASTWorker running Highlights on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:23.927] --> reply:textDocument/documentHighlight("33") 0 ms
V[15:27:23.927] >>> {"id":"33","jsonrpc":"2.0","result":[]}

V[15:27:24.267] <<< {"id":"34","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":23,"line":70},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:24.267] <-- textDocument/definition("34")
V[15:27:24.267] ASTWorker running Definitions on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:24.267] --> reply:textDocument/definition("34") 0 ms
V[15:27:24.267] >>> {"id":"34","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"}]}

V[15:27:24.310] <<< {"id":"35","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:24.310] <-- textDocument/documentSymbol("35")
V[15:27:24.310] ASTWorker running DocumentSymbols on version 2 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:24.311] --> reply:textDocument/documentSymbol("35") 0 ms
V[15:27:24.311] >>> {"id":"35","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:24.333] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":24,"line":70},"start":{"character":20,"line":70}},"text":"LOW"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":3}}}

I[15:27:24.333] <-- textDocument/didChange
V[15:27:24.333] <<< {"id":"36","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:24.333] <-- textDocument/documentSymbol("36")
I[15:27:24.334] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 3 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:24.341] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:24.344] Reusing preamble version 1 for version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:24.350] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 3
V[15:27:24.372] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:24.373] --> reply:textDocument/documentSymbol("36") 39 ms
V[15:27:24.373] >>> {"id":"36","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:24.373] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:24.374] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 3:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:24.375] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:24.375] --> textDocument/publishDiagnostics
V[15:27:24.375] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":3}}

V[15:27:24.552] <<< {"id":"37","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":70},"start":{"character":23,"line":70}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:24.552] <-- textDocument/codeAction("37")
V[15:27:24.552] ASTWorker running EnumerateTweaks on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:24.553] --> reply:textDocument/codeAction("37") 0 ms
V[15:27:24.553] >>> {"id":"37","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":70},"start":{"character":23,"line":70}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}

V[15:27:24.716] <<< {"id":"38","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":25,"line":74},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:24.716] <-- textDocument/hover("38")
V[15:27:24.716] ASTWorker running Hover on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:24.718] --> reply:textDocument/hover("38") 1 ms
V[15:27:24.718] >>> {"id":"38","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":26,"line":74},"start":{"character":25,"line":74}}}}

V[15:27:25.019] <<< {"id":"39","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":74},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.019] <-- textDocument/hover("39")
V[15:27:25.019] ASTWorker running Hover on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.021] --> reply:textDocument/hover("39") 1 ms
V[15:27:25.021] >>> {"id":"39","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":74},"start":{"character":20,"line":74}}}}

V[15:27:25.068] <<< {"id":"40","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":74},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.069] <-- textDocument/documentHighlight("40")
V[15:27:25.069] ASTWorker running Highlights on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.069] --> reply:textDocument/documentHighlight("40") 0 ms
V[15:27:25.069] >>> {"id":"40","jsonrpc":"2.0","result":[]}

V[15:27:25.361] <<< {"id":"41","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":74},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.361] <-- textDocument/definition("41")
V[15:27:25.361] ASTWorker running Definitions on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.361] --> reply:textDocument/definition("41") 0 ms
V[15:27:25.361] >>> {"id":"41","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"}]}

V[15:27:25.488] <<< {"id":"42","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.488] <-- textDocument/documentSymbol("42")
V[15:27:25.488] ASTWorker running DocumentSymbols on version 3 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.488] --> reply:textDocument/documentSymbol("42") 0 ms
V[15:27:25.489] >>> {"id":"42","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:25.508] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":24,"line":74},"start":{"character":20,"line":74}},"text":"LOW"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":4}}}

I[15:27:25.508] <-- textDocument/didChange
V[15:27:25.508] <<< {"id":"43","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.508] <-- textDocument/documentSymbol("43")
I[15:27:25.509] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 4 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:25.517] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:25.519] Reusing preamble version 1 for version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:25.524] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 4
V[15:27:25.545] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.546] --> reply:textDocument/documentSymbol("43") 37 ms
V[15:27:25.546] >>> {"id":"43","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:25.547] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:25.548] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 4:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:25.548] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:25.548] --> textDocument/publishDiagnostics
V[15:27:25.548] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":4}}

V[15:27:25.739] <<< {"id":"44","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":74},"start":{"character":23,"line":74}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:25.739] <-- textDocument/codeAction("44")
V[15:27:25.739] ASTWorker running EnumerateTweaks on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:25.739] --> reply:textDocument/codeAction("44") 0 ms
V[15:27:25.739] >>> {"id":"44","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":74},"start":{"character":23,"line":74}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}

V[15:27:26.135] <<< {"id":"45","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":71},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:26.136] <-- textDocument/documentHighlight("45")
V[15:27:26.136] ASTWorker running Highlights on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:26.136] --> reply:textDocument/documentHighlight("45") 0 ms
V[15:27:26.136] >>> {"id":"45","jsonrpc":"2.0","result":[]}

V[15:27:26.501] <<< {"id":"46","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":23,"line":71},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:26.501] <-- textDocument/definition("46")
V[15:27:26.501] ASTWorker running Definitions on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:26.501] --> reply:textDocument/definition("46") 0 ms
V[15:27:26.501] >>> {"id":"46","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"}]}

V[15:27:26.557] <<< {"id":"47","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":71},"start":{"character":20,"line":71}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:26.557] <-- textDocument/codeAction("47")
V[15:27:26.557] ASTWorker running EnumerateTweaks on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:26.557] --> reply:textDocument/codeAction("47") 0 ms
V[15:27:26.557] >>> {"id":"47","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":71},"start":{"character":20,"line":71}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":71},"start":{"character":20,"line":71}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:27.025] <<< {"id":"48","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":73},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.025] <-- textDocument/documentHighlight("48")
V[15:27:27.026] ASTWorker running Highlights on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.026] --> reply:textDocument/documentHighlight("48") 0 ms
V[15:27:27.026] >>> {"id":"48","jsonrpc":"2.0","result":[]}

V[15:27:27.267] <<< {"id":"49","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":73},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.267] <-- textDocument/definition("49")
V[15:27:27.267] ASTWorker running Definitions on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.267] --> reply:textDocument/definition("49") 0 ms
V[15:27:27.267] >>> {"id":"49","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"}]}

V[15:27:27.405] <<< {"id":"50","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.405] <-- textDocument/documentSymbol("50")
V[15:27:27.405] ASTWorker running DocumentSymbols on version 4 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.406] --> reply:textDocument/documentSymbol("50") 0 ms
V[15:27:27.406] >>> {"id":"50","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:27.426] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":73},"start":{"character":20,"line":73}},"text":"HIGH"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":5}}}

I[15:27:27.426] <-- textDocument/didChange
V[15:27:27.426] <<< {"id":"51","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.426] <-- textDocument/documentSymbol("51")
I[15:27:27.427] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:27:27.427] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:27:27.427] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 5 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:27:27.428] --> window/workDoneProgress/create(1)
V[15:27:27.428] >>> {"id":1,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:27:27.428] Enqueueing 26 commands for indexing
V[15:27:27.428] <<< {"id":1,"jsonrpc":"2.0","result":null}

I[15:27:27.428] <-- reply(1)
I[15:27:27.428] --> $/progress
V[15:27:27.428] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:27:27.428] --> $/progress
V[15:27:27.428] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:27:27.436] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:27.438] Reusing preamble version 1 for version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:27.444] BackgroundIndex: building version 3 after loading index from disk
V[15:27:27.444] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 5
V[15:27:27.456] BackgroundIndex: serving version 3 (1813146 bytes)
I[15:27:27.464] --> $/progress
V[15:27:27.464] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:27:27.464] --> $/progress
V[15:27:27.464] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:27:27.469] ASTWorker running DocumentSymbols on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.470] --> reply:textDocument/documentSymbol("51") 44 ms
V[15:27:27.471] >>> {"id":"51","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:27.471] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:27.472] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 5:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:27.472] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:27.472] --> textDocument/publishDiagnostics
V[15:27:27.472] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":5}}

V[15:27:27.656] <<< {"id":"52","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":73},"start":{"character":24,"line":73}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.656] <-- textDocument/codeAction("52")
V[15:27:27.657] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.657] --> reply:textDocument/codeAction("52") 0 ms
V[15:27:27.657] >>> {"id":"52","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":73},"start":{"character":24,"line":73}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}

V[15:27:27.935] <<< {"id":"53","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":73},"start":{"character":26,"line":73}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:27.935] <-- textDocument/codeAction("53")
V[15:27:27.935] ASTWorker running EnumerateTweaks on version 5 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:27.936] --> reply:textDocument/codeAction("53") 0 ms
V[15:27:27.936] >>> {"id":"53","jsonrpc":"2.0","result":[]}

V[15:27:30.552] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:30.552] <-- textDocument/didSave
I[15:27:30.552] File version went from 5 to 5
V[15:27:30.552] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":6}}}

I[15:27:30.552] <-- textDocument/didChange
V[15:27:30.553] ASTWorker skipping Update (5) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:30.604] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 6 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:30.611] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:30.613] Reusing preamble version 1 for version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:34.837] <<< {"id":"54","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:34.837] <-- textDocument/hover("54")
V[15:27:34.837] ASTWorker running Hover on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:34.838] --> reply:textDocument/hover("54") 1 ms
V[15:27:34.838] >>> {"id":"54","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}}}}

V[15:27:34.889] <<< {"id":"55","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:34.889] <-- textDocument/documentHighlight("55")
V[15:27:34.889] ASTWorker running Highlights on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:34.889] --> reply:textDocument/documentHighlight("55") 0 ms
V[15:27:34.889] >>> {"id":"55","jsonrpc":"2.0","result":[]}

V[15:27:35.312] <<< {"id":"56","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:35.312] <-- textDocument/codeAction("56")
V[15:27:35.312] ASTWorker running EnumerateTweaks on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:35.313] --> reply:textDocument/codeAction("56") 0 ms
V[15:27:35.313] >>> {"id":"56","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:37.246] <<< {"id":"57","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":21,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:37.246] <-- textDocument/documentHighlight("57")
V[15:27:37.247] ASTWorker running Highlights on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:37.247] --> reply:textDocument/documentHighlight("57") 1 ms
V[15:27:37.247] >>> {"id":"57","jsonrpc":"2.0","result":[]}

V[15:27:37.656] <<< {"id":"58","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:37.656] <-- textDocument/documentSymbol("58")
V[15:27:37.656] ASTWorker running DocumentSymbols on version 6 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:37.657] --> reply:textDocument/documentSymbol("58") 1 ms
V[15:27:37.657] >>> {"id":"58","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:37.677] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":83},"start":{"character":20,"line":83}},"text":"HIGH"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":7}}}

I[15:27:37.677] <-- textDocument/didChange
V[15:27:37.677] <<< {"id":"59","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:37.677] <-- textDocument/documentSymbol("59")
I[15:27:37.678] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:27:37.678] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:27:37.679] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 7 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:27:37.680] --> window/workDoneProgress/create(2)
V[15:27:37.680] >>> {"id":2,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:27:37.680] Enqueueing 26 commands for indexing
V[15:27:37.680] <<< {"id":2,"jsonrpc":"2.0","result":null}

I[15:27:37.680] <-- reply(2)
I[15:27:37.680] --> $/progress
V[15:27:37.680] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:27:37.680] --> $/progress
V[15:27:37.680] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:27:37.687] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:37.689] Reusing preamble version 1 for version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:37.694] BackgroundIndex: building version 4 after loading index from disk
V[15:27:37.695] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 7
V[15:27:37.705] BackgroundIndex: serving version 4 (1813146 bytes)
I[15:27:37.713] --> $/progress
V[15:27:37.713] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:27:37.713] --> $/progress
V[15:27:37.713] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:27:37.718] ASTWorker running DocumentSymbols on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:37.719] --> reply:textDocument/documentSymbol("59") 41 ms
V[15:27:37.719] >>> {"id":"59","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:37.720] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:37.721] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 7:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:37.721] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:37.721] --> textDocument/publishDiagnostics
V[15:27:37.721] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":7}}

V[15:27:37.737] <<< {"id":"60","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:37.737] <-- textDocument/definition("60")
V[15:27:37.737] ASTWorker running Definitions on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:37.737] --> reply:textDocument/definition("60") 0 ms
V[15:27:37.737] >>> {"id":"60","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"}]}

V[15:27:37.908] <<< {"id":"61","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":83},"start":{"character":24,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:37.908] <-- textDocument/codeAction("61")
V[15:27:37.909] ASTWorker running EnumerateTweaks on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:37.909] --> reply:textDocument/codeAction("61") 0 ms
V[15:27:37.909] >>> {"id":"61","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":83},"start":{"character":24,"line":83}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}

V[15:27:38.983] <<< {"id":"62","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:38.984] <-- textDocument/hover("62")
V[15:27:38.984] ASTWorker running Hover on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:38.986] --> reply:textDocument/hover("62") 2 ms
V[15:27:38.986] >>> {"id":"62","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}}}}

V[15:27:39.184] <<< {"id":"63","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:39.184] <-- textDocument/hover("63")
V[15:27:39.184] ASTWorker running Hover on version 7 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:39.186] --> reply:textDocument/hover("63") 1 ms
V[15:27:39.186] >>> {"id":"63","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":86},"start":{"character":20,"line":86}}}}

V[15:27:40.242] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:40.242] <-- textDocument/didSave
I[15:27:40.242] File version went from 7 to 7
V[15:27:40.242] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":8}}}

I[15:27:40.242] <-- textDocument/didChange
V[15:27:40.242] ASTWorker skipping Update (7) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:40.294] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 8 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:40.302] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:40.304] Reusing preamble version 1 for version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:41.288] <<< {"id":"64","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:41.288] <-- textDocument/hover("64")
V[15:27:41.288] ASTWorker running Hover on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:41.289] --> reply:textDocument/hover("64") 1 ms
V[15:27:41.289] >>> {"id":"64","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}}}}

V[15:27:42.139] <<< {"id":"65","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:42.139] <-- textDocument/documentHighlight("65")
V[15:27:42.139] ASTWorker running Highlights on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:42.139] --> reply:textDocument/documentHighlight("65") 0 ms
V[15:27:42.139] >>> {"id":"65","jsonrpc":"2.0","result":[]}

V[15:27:42.521] <<< {"id":"66","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:42.521] <-- textDocument/definition("66")
V[15:27:42.522] ASTWorker running Definitions on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:42.522] --> reply:textDocument/definition("66") 1 ms
V[15:27:42.522] >>> {"id":"66","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"}]}

V[15:27:42.564] <<< {"id":"67","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:42.564] <-- textDocument/codeAction("67")
V[15:27:42.564] ASTWorker running EnumerateTweaks on version 8 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:42.564] --> reply:textDocument/codeAction("67") 0 ms
V[15:27:42.564] >>> {"id":"67","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:44.094] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.094] <-- textDocument/didSave
I[15:27:44.094] File version went from 8 to 8
V[15:27:44.094] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, HIGH);\n   //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":9}}}

I[15:27:44.094] <-- textDocument/didChange
V[15:27:44.094] ASTWorker skipping Update (8) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:44.145] <<< {"id":"68","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.145] <-- textDocument/hover("68")
I[15:27:44.146] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:27:44.146] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:27:44.146] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 9 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:27:44.147] --> window/workDoneProgress/create(3)
V[15:27:44.147] >>> {"id":3,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:27:44.147] Enqueueing 26 commands for indexing
V[15:27:44.147] <<< {"id":3,"jsonrpc":"2.0","result":null}

I[15:27:44.147] <-- reply(3)
I[15:27:44.147] --> $/progress
V[15:27:44.147] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:27:44.147] --> $/progress
V[15:27:44.147] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:27:44.154] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:44.154] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.155] --> reply:textDocument/hover("68") 10 ms
V[15:27:44.155] >>> {"id":"68","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}}}}

V[15:27:44.156] Reusing preamble version 1 for version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:44.161] BackgroundIndex: building version 5 after loading index from disk
V[15:27:44.173] BackgroundIndex: serving version 5 (1813146 bytes)
I[15:27:44.179] --> $/progress
V[15:27:44.179] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:27:44.180] --> $/progress
V[15:27:44.180] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:27:44.236] <<< {"id":"69","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.236] <-- textDocument/documentHighlight("69")
V[15:27:44.236] ASTWorker running Highlights on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.236] --> reply:textDocument/documentHighlight("69") 0 ms
V[15:27:44.236] >>> {"id":"69","jsonrpc":"2.0","result":[]}

V[15:27:44.621] <<< {"id":"70","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":23,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.621] <-- textDocument/definition("70")
V[15:27:44.621] ASTWorker running Definitions on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.621] --> reply:textDocument/definition("70") 0 ms
V[15:27:44.621] >>> {"id":"70","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"}]}

V[15:27:44.651] <<< {"id":"71","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.651] <-- textDocument/codeAction("71")
V[15:27:44.651] ASTWorker running EnumerateTweaks on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.651] --> reply:textDocument/codeAction("71") 0 ms
V[15:27:44.651] >>> {"id":"71","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:44.829] <<< {"id":"72","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":24,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.829] <-- textDocument/definition("72")
V[15:27:44.829] ASTWorker running Definitions on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.829] --> reply:textDocument/definition("72") 0 ms
V[15:27:44.829] >>> {"id":"72","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"}]}

V[15:27:44.975] <<< {"id":"73","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:44.975] <-- textDocument/hover("73")
V[15:27:44.975] ASTWorker running Hover on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:44.976] --> reply:textDocument/hover("73") 1 ms
V[15:27:44.976] >>> {"id":"73","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `HIGH`  \n\n---\n```cpp\n#define HIGH 0x1\n```"},"range":{"end":{"character":24,"line":86},"start":{"character":20,"line":86}}}}

V[15:27:45.572] <<< {"id":"74","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:45.572] <-- textDocument/documentSymbol("74")
V[15:27:45.572] ASTWorker running DocumentSymbols on version 9 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:45.573] --> reply:textDocument/documentSymbol("74") 1 ms
V[15:27:45.573] >>> {"id":"74","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:45.593] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":24,"line":84},"start":{"character":20,"line":84}},"text":"LOW"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":10}}}

I[15:27:45.593] <-- textDocument/didChange
V[15:27:45.593] <<< {"id":"75","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:45.593] <-- textDocument/documentSymbol("75")
I[15:27:45.594] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 10 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:45.602] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:45.604] Reusing preamble version 1 for version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:45.610] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 10
V[15:27:45.632] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:45.633] --> reply:textDocument/documentSymbol("75") 39 ms
V[15:27:45.633] >>> {"id":"75","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:45.633] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:45.634] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 10:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:45.635] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:45.635] --> textDocument/publishDiagnostics
V[15:27:45.635] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":10}}

V[15:27:45.652] <<< {"id":"76","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":23,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:45.652] <-- textDocument/definition("76")
V[15:27:45.652] ASTWorker running Definitions on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:45.652] --> reply:textDocument/definition("76") 0 ms
V[15:27:45.652] >>> {"id":"76","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"}]}

V[15:27:45.823] <<< {"id":"77","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":84},"start":{"character":23,"line":84}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:45.823] <-- textDocument/codeAction("77")
V[15:27:45.823] ASTWorker running EnumerateTweaks on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:45.823] --> reply:textDocument/codeAction("77") 0 ms
V[15:27:45.823] >>> {"id":"77","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":84},"start":{"character":23,"line":84}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}

V[15:27:46.073] <<< {"id":"78","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:46.073] <-- textDocument/documentHighlight("78")
V[15:27:46.073] ASTWorker running Highlights on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:46.073] --> reply:textDocument/documentHighlight("78") 0 ms
V[15:27:46.073] >>> {"id":"78","jsonrpc":"2.0","result":[]}

V[15:27:46.459] <<< {"id":"79","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":24,"line":86},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:46.459] <-- textDocument/definition("79")
V[15:27:46.459] ASTWorker running Definitions on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:46.459] --> reply:textDocument/definition("79") 0 ms
V[15:27:46.459] >>> {"id":"79","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"}]}

V[15:27:46.461] <<< {"id":"80","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:46.461] <-- textDocument/documentSymbol("80")
V[15:27:46.461] ASTWorker running DocumentSymbols on version 10 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:46.462] --> reply:textDocument/documentSymbol("80") 0 ms
V[15:27:46.462] >>> {"id":"80","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:46.483] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":24,"line":86},"start":{"character":20,"line":86}},"text":"LOW"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":11}}}

I[15:27:46.483] <-- textDocument/didChange
V[15:27:46.483] <<< {"id":"81","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:46.483] <-- textDocument/documentSymbol("81")
I[15:27:46.484] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 11 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:46.491] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:46.493] Reusing preamble version 1 for version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:46.499] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 11
V[15:27:46.521] ASTWorker running DocumentSymbols on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:46.522] --> reply:textDocument/documentSymbol("81") 39 ms
V[15:27:46.522] >>> {"id":"81","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:46.522] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:46.524] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 11:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:46.524] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:46.524] --> textDocument/publishDiagnostics
V[15:27:46.524] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":11}}

V[15:27:46.709] <<< {"id":"82","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":23,"line":86},"start":{"character":23,"line":86}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:46.709] <-- textDocument/codeAction("82")
V[15:27:46.709] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:46.709] --> reply:textDocument/codeAction("82") 0 ms
V[15:27:46.709] >>> {"id":"82","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":23,"line":86},"start":{"character":23,"line":86}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'LOW'"},"kind":"refactor","title":"Expand macro 'LOW'"}]}

V[15:27:47.210] <<< {"id":"83","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":84},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:47.210] <-- textDocument/hover("83")
V[15:27:47.210] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:47.211] --> reply:textDocument/hover("83") 1 ms
V[15:27:47.211] >>> {"id":"83","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":84},"start":{"character":20,"line":84}}}}

V[15:27:47.375] <<< {"id":"84","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":22,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:47.375] <-- textDocument/documentHighlight("84")
V[15:27:47.375] ASTWorker running Highlights on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:47.375] --> reply:textDocument/documentHighlight("84") 0 ms
V[15:27:47.375] >>> {"id":"84","jsonrpc":"2.0","result":[]}

V[15:27:47.780] <<< {"id":"85","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":83},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:47.780] <-- textDocument/definition("85")
V[15:27:47.782] ASTWorker running Definitions on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:47.782] --> reply:textDocument/definition("85") 1 ms
V[15:27:47.782] >>> {"id":"85","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"}]}

V[15:27:47.789] <<< {"id":"86","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":83},"start":{"character":20,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:47.789] <-- textDocument/codeAction("86")
V[15:27:47.789] ASTWorker running EnumerateTweaks on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:47.790] --> reply:textDocument/codeAction("86") 0 ms
V[15:27:47.790] >>> {"id":"86","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":83},"start":{"character":20,"line":83}},"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-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":83},"start":{"character":20,"line":83}},"tweakID":"ExtractVariable"}],"command":"clangd.applyTweak","title":"Extract subexpression to variable"},"kind":"refactor","title":"Extract subexpression to variable"}]}

V[15:27:48.330] <<< {"id":"87","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":23,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.330] <-- textDocument/hover("87")
V[15:27:48.330] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.332] --> reply:textDocument/hover("87") 1 ms
V[15:27:48.332] >>> {"id":"87","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}}}}

V[15:27:48.531] <<< {"id":"88","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":22,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.531] <-- textDocument/hover("88")
V[15:27:48.531] ASTWorker running Hover on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.533] --> reply:textDocument/hover("88") 1 ms
V[15:27:48.533] >>> {"id":"88","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `LOW`  \n\n---\n```cpp\n#define LOW 0x0\n```"},"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}}}}

V[15:27:48.548] <<< {"id":"89","jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":23,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.548] <-- textDocument/documentHighlight("89")
V[15:27:48.548] ASTWorker running Highlights on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.549] --> reply:textDocument/documentHighlight("89") 0 ms
V[15:27:48.549] >>> {"id":"89","jsonrpc":"2.0","result":[{"kind":1,"range":{"end":{"character":14,"line":45},"start":{"character":2,"line":45}}},{"kind":1,"range":{"end":{"character":14,"line":46},"start":{"character":2,"line":46}}},{"kind":1,"range":{"end":{"character":14,"line":48},"start":{"character":2,"line":48}}},{"kind":1,"range":{"end":{"character":14,"line":49},"start":{"character":2,"line":49}}},{"kind":1,"range":{"end":{"character":14,"line":58},"start":{"character":2,"line":58}}},{"kind":1,"range":{"end":{"character":14,"line":59},"start":{"character":2,"line":59}}},{"kind":1,"range":{"end":{"character":14,"line":61},"start":{"character":2,"line":61}}},{"kind":1,"range":{"end":{"character":14,"line":62},"start":{"character":2,"line":62}}},{"kind":1,"range":{"end":{"character":14,"line":70},"start":{"character":2,"line":70}}},{"kind":1,"range":{"end":{"character":14,"line":71},"start":{"character":2,"line":71}}},{"kind":1,"range":{"end":{"character":14,"line":73},"start":{"character":2,"line":73}}},{"kind":1,"range":{"end":{"character":14,"line":74},"start":{"character":2,"line":74}}},{"kind":1,"range":{"end":{"character":14,"line":83},"start":{"character":2,"line":83}}},{"kind":1,"range":{"end":{"character":14,"line":84},"start":{"character":2,"line":84}}},{"kind":1,"range":{"end":{"character":14,"line":86},"start":{"character":2,"line":86}}},{"kind":1,"range":{"end":{"character":14,"line":87},"start":{"character":2,"line":87}}},{"kind":1,"range":{"end":{"character":14,"line":93},"start":{"character":2,"line":93}}},{"kind":1,"range":{"end":{"character":14,"line":94},"start":{"character":2,"line":94}}},{"kind":1,"range":{"end":{"character":14,"line":104},"start":{"character":2,"line":104}}},{"kind":1,"range":{"end":{"character":14,"line":106},"start":{"character":2,"line":106}}},{"kind":1,"range":{"end":{"character":14,"line":108},"start":{"character":2,"line":108}}}]}

V[15:27:48.867] <<< {"id":"90","jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":23,"line":87},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.867] <-- textDocument/definition("90")
V[15:27:48.867] ASTWorker running Definitions on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.867] --> reply:textDocument/definition("90") 0 ms
V[15:27:48.867] >>> {"id":"90","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"}]}

V[15:27:48.908] <<< {"id":"91","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.908] <-- textDocument/documentSymbol("91")
V[15:27:48.908] ASTWorker running DocumentSymbols on version 11 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.909] --> reply:textDocument/documentSymbol("91") 0 ms
V[15:27:48.909] >>> {"id":"91","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

V[15:27:48.928] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"range":{"end":{"character":23,"line":87},"start":{"character":20,"line":87}},"text":"HIGH"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":12}}}

I[15:27:48.928] <-- textDocument/didChange
V[15:27:48.929] <<< {"id":"92","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:48.929] <-- textDocument/documentSymbol("92")
I[15:27:48.929] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 12 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:48.937] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:48.939] Reusing preamble version 1 for version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:48.944] ASTWorker rebuilding evicted AST to run DocumentSymbols: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 12
V[15:27:48.965] ASTWorker running DocumentSymbols on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:48.966] --> reply:textDocument/documentSymbol("92") 37 ms
V[15:27:48.967] >>> {"id":"92","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[15:27:48.967] Skipping rebuild of the AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp, inputs are the same.
V[15:27:48.968] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 12:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[15:27:48.968] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[15:27:48.968] --> textDocument/publishDiagnostics
V[15:27:48.968] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":12}}

V[15:27:49.152] <<< {"id":"93","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":24,"line":87},"start":{"character":24,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:49.152] <-- textDocument/codeAction("93")
V[15:27:49.152] ASTWorker running EnumerateTweaks on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:49.152] --> reply:textDocument/codeAction("93") 0 ms
V[15:27:49.152] >>> {"id":"93","jsonrpc":"2.0","result":[{"command":{"arguments":[{"file":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","selection":{"end":{"character":24,"line":87},"start":{"character":24,"line":87}},"tweakID":"ExpandMacro"}],"command":"clangd.applyTweak","title":"Expand macro 'HIGH'"},"kind":"refactor","title":"Expand macro 'HIGH'"}]}

V[15:27:49.468] <<< {"id":"94","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":87},"start":{"character":26,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:49.468] <-- textDocument/codeAction("94")
V[15:27:49.468] ASTWorker running EnumerateTweaks on version 12 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:49.468] --> reply:textDocument/codeAction("94") 0 ms
V[15:27:49.468] >>> {"id":"94","jsonrpc":"2.0","result":[]}

V[15:27:53.077] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:27:53.077] <-- textDocument/didSave
I[15:27:53.077] File version went from 12 to 12
V[15:27:53.077] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":13}}}

I[15:27:53.077] <-- textDocument/didChange
V[15:27:53.077] ASTWorker skipping Update (12) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:27:53.131] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:27:53.131] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:27:53.131] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 13 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:27:53.132] --> window/workDoneProgress/create(4)
V[15:27:53.132] >>> {"id":4,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:27:53.132] Enqueueing 26 commands for indexing
V[15:27:53.132] <<< {"id":4,"jsonrpc":"2.0","result":null}

I[15:27:53.132] <-- reply(4)
I[15:27:53.132] --> $/progress
V[15:27:53.132] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:27:53.132] --> $/progress
V[15:27:53.132] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:27:53.139] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:27:53.141] Reusing preamble version 1 for version 13 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:27:53.146] BackgroundIndex: building version 6 after loading index from disk
V[15:27:53.157] BackgroundIndex: serving version 6 (1813146 bytes)
I[15:27:53.164] --> $/progress
V[15:27:53.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:27:53.164] --> $/progress
V[15:27:53.164] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:28:18.191] <<< {"id":"95","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":34,"line":80},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:18.191] <-- textDocument/hover("95")
V[15:28:18.192] ASTWorker running Hover on version 13 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:18.193] --> reply:textDocument/hover("95") 1 ms
V[15:28:18.193] >>> {"id":"95","jsonrpc":"2.0","result":null}

V[15:28:31.475] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:31.475] <-- textDocument/didSave
I[15:28:31.475] File version went from 13 to 13
V[15:28:31.475] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":14}}}

I[15:28:31.475] <-- textDocument/didChange
V[15:28:31.475] ASTWorker skipping Update (13) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:31.544] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:28:31.544] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:28:31.545] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 14 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:28:31.546] --> window/workDoneProgress/create(5)
V[15:28:31.546] >>> {"id":5,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:28:31.546] Enqueueing 26 commands for indexing
V[15:28:31.546] <<< {"id":5,"jsonrpc":"2.0","result":null}

I[15:28:31.546] <-- reply(5)
I[15:28:31.546] --> $/progress
V[15:28:31.546] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:28:31.546] --> $/progress
V[15:28:31.546] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:28:31.553] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:28:31.555] Reusing preamble version 1 for version 14 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:28:31.560] BackgroundIndex: building version 7 after loading index from disk
V[15:28:31.571] BackgroundIndex: serving version 7 (1813146 bytes)
I[15:28:31.578] --> $/progress
V[15:28:31.578] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:28:31.578] --> $/progress
V[15:28:31.578] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:28:37.476] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:37.476] <-- textDocument/didSave
I[15:28:37.476] File version went from 14 to 14
V[15:28:37.476] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":15}}}

I[15:28:37.476] <-- textDocument/didChange
V[15:28:37.476] ASTWorker skipping Update (14) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:37.547] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:28:37.548] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:28:37.548] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 15 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:28:37.553] --> window/workDoneProgress/create(6)
V[15:28:37.553] >>> {"id":6,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:28:37.554] Enqueueing 26 commands for indexing
V[15:28:37.554] <<< {"id":6,"jsonrpc":"2.0","result":null}

I[15:28:37.554] <-- reply(6)
I[15:28:37.554] --> $/progress
V[15:28:37.554] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:28:37.554] --> $/progress
V[15:28:37.554] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:28:37.575] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:28:37.579] Reusing preamble version 1 for version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:28:37.588] BackgroundIndex: building version 8 after loading index from disk
V[15:28:37.600] BackgroundIndex: serving version 8 (1813146 bytes)
I[15:28:37.607] --> $/progress
V[15:28:37.607] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:28:37.607] --> $/progress
V[15:28:37.607] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:28:40.683] <<< {"id":"96","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":37,"line":104},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:40.683] <-- textDocument/hover("96")
V[15:28:40.683] ASTWorker running Hover on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:40.684] --> reply:textDocument/hover("96") 1 ms
V[15:28:40.684] >>> {"id":"96","jsonrpc":"2.0","result":null}

V[15:28:42.199] <<< {"id":"97","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":42,"line":142},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:42.199] <-- textDocument/hover("97")
V[15:28:42.199] ASTWorker running Hover on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:42.200] --> reply:textDocument/hover("97") 0 ms
V[15:28:42.200] >>> {"id":"97","jsonrpc":"2.0","result":null}

V[15:28:57.918] <<< {"id":"98","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":152},"start":{"character":27,"line":152}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:28:57.918] <-- textDocument/codeAction("98")
V[15:28:57.919] ASTWorker running EnumerateTweaks on version 15 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:28:57.919] --> reply:textDocument/codeAction("98") 1 ms
V[15:28:57.919] >>> {"id":"98","jsonrpc":"2.0","result":[]}

V[15:29:01.660] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:29:01.660] <-- textDocument/didSave
I[15:29:01.660] File version went from 15 to 15
V[15:29:01.660] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":16}}}

I[15:29:01.660] <-- textDocument/didChange
V[15:29:01.660] ASTWorker skipping Update (15) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:29:01.712] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:29:01.712] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:29:01.712] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 16 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:29:01.714] --> window/workDoneProgress/create(7)
V[15:29:01.714] >>> {"id":7,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:29:01.714] Enqueueing 26 commands for indexing
V[15:29:01.714] <<< {"id":7,"jsonrpc":"2.0","result":null}

I[15:29:01.714] <-- reply(7)
I[15:29:01.714] --> $/progress
V[15:29:01.714] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:29:01.714] --> $/progress
V[15:29:01.714] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:29:01.721] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:29:01.723] Reusing preamble version 1 for version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:29:01.729] BackgroundIndex: building version 9 after loading index from disk
V[15:29:01.740] BackgroundIndex: serving version 9 (1813146 bytes)
I[15:29:01.747] --> $/progress
V[15:29:01.747] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:29:01.747] --> $/progress
V[15:29:01.747] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:29:02.775] <<< {"id":"99","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":45,"line":149},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:29:02.775] <-- textDocument/hover("99")
V[15:29:02.775] ASTWorker running Hover on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:29:02.776] --> reply:textDocument/hover("99") 0 ms
V[15:29:02.776] >>> {"id":"99","jsonrpc":"2.0","result":null}

V[15:29:14.492] <<< {"id":"100","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":26,"line":147},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:29:14.492] <-- textDocument/hover("100")
V[15:29:14.493] ASTWorker running Hover on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:29:14.494] --> reply:textDocument/hover("100") 2 ms
V[15:29:14.494] >>> {"id":"100","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### instance-method `write`  \n\n---\n→ `void`  \nParameters:  \n- `int value`\n\n---\n```cpp\n// In Servo\npublic: void write(int value)\n```"},"range":{"end":{"character":27,"line":147},"start":{"character":26,"line":147}}}}

V[15:29:14.536] <<< {"id":"101","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":147},"start":{"character":27,"line":147}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:29:14.536] <-- textDocument/codeAction("101")
V[15:29:14.536] ASTWorker running EnumerateTweaks on version 16 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:29:14.536] --> reply:textDocument/codeAction("101") 0 ms
V[15:29:14.536] >>> {"id":"101","jsonrpc":"2.0","result":[]}

V[15:29:16.777] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:29:16.777] <-- textDocument/didSave
I[15:29:16.777] File version went from 16 to 16
V[15:29:16.777] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":17}}}

I[15:29:16.777] <-- textDocument/didChange
V[15:29:16.777] ASTWorker skipping Update (16) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:29:16.839] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:29:16.839] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:29:16.839] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 17 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:29:16.840] --> window/workDoneProgress/create(8)
V[15:29:16.840] >>> {"id":8,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:29:16.840] Enqueueing 26 commands for indexing
V[15:29:16.841] <<< {"id":8,"jsonrpc":"2.0","result":null}

I[15:29:16.841] <-- reply(8)
I[15:29:16.841] --> $/progress
V[15:29:16.841] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:29:16.841] --> $/progress
V[15:29:16.841] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:29:16.848] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:29:16.850] Reusing preamble version 1 for version 17 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:29:16.855] BackgroundIndex: building version 10 after loading index from disk
V[15:29:16.866] BackgroundIndex: serving version 10 (1813146 bytes)
I[15:29:16.873] --> $/progress
V[15:29:16.873] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:29:16.873] --> $/progress
V[15:29:16.873] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:33:57.872] <<< {"id":"102","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":148},"start":{"character":19,"line":148}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:33:57.872] <-- textDocument/codeAction("102")
V[15:33:57.873] ASTWorker running EnumerateTweaks on version 17 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:33:57.873] --> reply:textDocument/codeAction("102") 1 ms
V[15:33:57.873] >>> {"id":"102","jsonrpc":"2.0","result":[]}

V[15:34:00.249] <<< {"id":"103","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":146},"start":{"character":19,"line":146}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:34:00.249] <-- textDocument/codeAction("103")
V[15:34:00.249] ASTWorker running EnumerateTweaks on version 17 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:34:00.249] --> reply:textDocument/codeAction("103") 0 ms
V[15:34:00.249] >>> {"id":"103","jsonrpc":"2.0","result":[]}

V[15:34:00.715] <<< {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:34:00.716] <-- textDocument/didSave
I[15:34:00.716] File version went from 17 to 17
V[15:34:00.716] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n"}],"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp","version":18}}}

I[15:34:00.716] <-- textDocument/didChange
V[15:34:00.716] ASTWorker skipping Update (17) for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:34:00.780] Reloaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\compile_commands.json
V[15:34:00.780] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464
I[15:34:00.780] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp version 18 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
I[15:34:00.781] --> window/workDoneProgress/create(9)
V[15:34:00.781] >>> {"id":9,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[15:34:00.781] Enqueueing 26 commands for indexing
V[15:34:00.781] <<< {"id":9,"jsonrpc":"2.0","result":null}

I[15:34:00.781] <-- reply(9)
I[15:34:00.781] --> $/progress
V[15:34:00.781] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[15:34:00.781] --> $/progress
V[15:34:00.781] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[15:34:00.788] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server593460464\\sketch\\HC-SR04.ino.cpp"
V[15:34:00.790] Reusing preamble version 1 for version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
V[15:34:00.795] BackgroundIndex: building version 11 after loading index from disk
V[15:34:00.807] BackgroundIndex: serving version 11 (1813146 bytes)
I[15:34:00.814] --> $/progress
V[15:34:00.814] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

I[15:34:00.814] --> $/progress
V[15:34:00.814] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[15:34:02.294] <<< {"id":"104","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":145},"start":{"character":27,"line":145}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:34:02.294] <-- textDocument/codeAction("104")
V[15:34:02.294] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:34:02.295] --> reply:textDocument/codeAction("104") 0 ms
V[15:34:02.295] >>> {"id":"104","jsonrpc":"2.0","result":[]}

V[15:34:03.406] <<< {"id":"105","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":27,"line":145},"start":{"character":27,"line":145}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:34:03.406] <-- textDocument/codeAction("105")
V[15:34:03.407] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:34:03.407] --> reply:textDocument/codeAction("105") 1 ms
V[15:34:03.407] >>> {"id":"105","jsonrpc":"2.0","result":[]}

V[15:34:04.199] <<< {"id":"106","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":19,"line":144},"start":{"character":19,"line":144}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:34:04.199] <-- textDocument/codeAction("106")
V[15:34:04.199] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:34:04.199] --> reply:textDocument/codeAction("106") 0 ms
V[15:34:04.199] >>> {"id":"106","jsonrpc":"2.0","result":[]}

V[15:39:02.520] <<< {"id":"107","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":37,"line":149},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:02.521] <-- textDocument/hover("107")
V[15:39:02.522] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:02.523] --> reply:textDocument/hover("107") 2 ms
V[15:39:02.523] >>> {"id":"107","jsonrpc":"2.0","result":null}

V[15:39:04.904] <<< {"id":"108","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":31,"line":104},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:04.904] <-- textDocument/hover("108")
V[15:39:04.904] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:04.905] --> reply:textDocument/hover("108") 0 ms
V[15:39:04.905] >>> {"id":"108","jsonrpc":"2.0","result":null}

V[15:39:06.015] <<< {"id":"109","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":34,"line":80},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:06.015] <-- textDocument/hover("109")
V[15:39:06.015] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:06.016] --> reply:textDocument/hover("109") 0 ms
V[15:39:06.016] >>> {"id":"109","jsonrpc":"2.0","result":null}

V[15:39:06.365] <<< {"id":"110","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":34,"line":80},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:06.365] <-- textDocument/hover("110")
V[15:39:06.365] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:06.367] --> reply:textDocument/hover("110") 1 ms
V[15:39:06.367] >>> {"id":"110","jsonrpc":"2.0","result":null}

V[15:39:07.666] <<< {"id":"111","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":83},"start":{"character":26,"line":83}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:07.666] <-- textDocument/codeAction("111")
V[15:39:07.667] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:07.667] --> reply:textDocument/codeAction("111") 1 ms
V[15:39:07.667] >>> {"id":"111","jsonrpc":"2.0","result":[]}

V[15:39:08.264] <<< {"id":"112","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":26,"line":87},"start":{"character":26,"line":87}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:08.264] <-- textDocument/codeAction("112")
V[15:39:08.264] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:08.264] --> reply:textDocument/codeAction("112") 0 ms
V[15:39:08.264] >>> {"id":"112","jsonrpc":"2.0","result":[]}

V[15:39:08.514] <<< {"id":"113","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":39,"line":81},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:08.514] <-- textDocument/hover("113")
V[15:39:08.514] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:08.515] --> reply:textDocument/hover("113") 0 ms
V[15:39:08.515] >>> {"id":"113","jsonrpc":"2.0","result":null}

V[15:39:09.350] <<< {"id":"114","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":39,"line":81},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:39:09.350] <-- textDocument/hover("114")
V[15:39:09.350] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:39:09.351] --> reply:textDocument/hover("114") 0 ms
V[15:39:09.351] >>> {"id":"114","jsonrpc":"2.0","result":null}

V[15:56:35.814] <<< {"id":"115","jsonrpc":"2.0","method":"textDocument/hover","params":{"position":{"character":17,"line":67},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[15:56:35.814] <-- textDocument/hover("115")
V[15:56:35.815] ASTWorker running Hover on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[15:56:35.817] --> reply:textDocument/hover("115") 3 ms
V[15:56:35.817] >>> {"id":"115","jsonrpc":"2.0","result":{"contents":{"kind":"markdown","value":"### macro `ENA`  \n\n---\n```cpp\n#define ENA 5\n```"},"range":{"end":{"character":17,"line":67},"start":{"character":14,"line":67}}}}

V[17:06:32.734] <<< {"id":"116","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":25,"line":61},"start":{"character":25,"line":61}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[17:06:32.734] <-- textDocument/codeAction("116")
V[17:06:32.735] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[17:06:32.735] --> reply:textDocument/codeAction("116") 1 ms
V[17:06:32.735] >>> {"id":"116","jsonrpc":"2.0","result":[]}

V[17:07:29.158] <<< {"id":"117","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":0,"line":180},"start":{"character":0,"line":2}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server593460464/sketch/HC-SR04.ino.cpp"}}}

I[17:07:29.158] <-- textDocument/codeAction("117")
V[17:07:29.159] ASTWorker running EnumerateTweaks on version 18 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server593460464\sketch\HC-SR04.ino.cpp
I[17:07:29.166] --> reply:textDocument/codeAction("117") 7 ms
V[17:07:29.166] >>> {"id":"117","jsonrpc":"2.0","result":[]}

V[18:01:35.852] <<< {"id":"118","jsonrpc":"2.0","method":"shutdown","params":null}

I[18:01:35.852] <-- shutdown("118")
I[18:01:35.852] --> reply:shutdown("118") 0 ms
V[18:01:35.852] >>> {"id":"118","jsonrpc":"2.0","result":null}

V[18:01:35.858] <<< {"jsonrpc":"2.0","method":"exit","params":null}

I[18:01:35.858] <-- exit







Started logging.
I[13:37:31.370] clangd version 14.0.0
I[13:37:31.370] Features: windows
I[13:37:31.370] PID: 14276
I[13:37:31.370] Working directory: e:\5-教程\1.tutorial\ZYC0068四循小车教程\新写的教程综合\3_代码\HC-SR04
I[13:37:31.370] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[13:37:31.370] argv[1]: -log=verbose
I[13:37:31.370] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707
I[13:37:31.370] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[13:37:31.376] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[13:37:31.376] Starting LSP over stdin/stdout
V[13:37:31.376] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":8148,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3462225707/sketch","trace":"off","workspaceFolders":[{"name":"HC-SR04","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0068%E5%9B%9B%E5%BE%AA%E5%B0%8F%E8%BD%A6%E6%95%99%E7%A8%8B/%E6%96%B0%E5%86%99%E7%9A%84%E6%95%99%E7%A8%8B%E7%BB%BC%E5%90%88/3_%E4%BB%A3%E7%A0%81/HC-SR04"}]}}

I[13:37:31.376] <-- initialize("1")
I[13:37:31.394] --> reply:initialize("1") 17 ms
V[13:37:31.394] >>> {"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"}}}

V[13:37:31.395] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[13:37:31.395] <-- initialized
V[13:37:31.396] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3462225707/sketch/HC-SR04.ino.cpp","version":1}}}

I[13:37:31.396] <-- textDocument/didOpen
V[13:37:31.397] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3462225707/sketch/HC-SR04.ino.cpp"}}}

I[13:37:31.397] <-- textDocument/documentSymbol("2")
V[13:37:31.398] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\.clangd:1:0: Parsing config fragment
V[13:37:31.398] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\.clangd:1:0: Parsed 1 fragments from file
V[13:37:31.398] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\.clangd:1 -> 0x000001E1A8B17D30 (trusted=false)
I[13:37:31.398] --> textDocument/publishDiagnostics
V[13:37:31.398] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3462225707/.clangd"}}

I[13:37:31.399] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\compile_commands.json
V[13:37:31.399] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707
I[13:37:31.400] --> window/workDoneProgress/create(0)
V[13:37:31.400] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[13:37:31.400] Enqueueing 26 commands for indexing
V[13:37:31.400] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[13:37:31.400] <-- reply(0)
I[13:37:31.400] --> $/progress
V[13:37:31.400] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[13:37:31.400] --> $/progress
V[13:37:31.400] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[13:37:31.400] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[13:37:31.401] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[13:37:31.403] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.404] --> $/progress
V[13:37:31.404] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[13:37:31.438] System include extraction: target extracted: "avr"
V[13:37:31.438] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.438] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.438] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.438] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[13:37:31.438] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp version 1 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch\\HC-SR04.ino.cpp"
V[13:37:31.441] System include extraction: target extracted: "avr"
V[13:37:31.441] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.441] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.441] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.441] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.442] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
V[13:37:31.443] System include extraction: target extracted: "avr"
V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.444] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.444] System include extraction: target extracted: "avr"
V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.444] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.444] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.445] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
V[13:37:31.445] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp (digest:=D4C5EBBD23C70353)
V[13:37:31.445] System include extraction: target extracted: "avr"
V[13:37:31.445] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.445] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.445] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.445] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.448] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server3462225707\\sketch\\HC-SR04.ino.cpp"
V[13:37:31.448] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp version 1
V[13:37:31.448] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
V[13:37:31.450] System include extraction: target extracted: "avr"
V[13:37:31.450] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.450] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.450] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.450] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.451] System include extraction: target extracted: "avr"
V[13:37:31.451] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.451] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.451] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.451] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.452] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[13:37:31.453] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
I[13:37:31.461] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[13:37:31.464] --> $/progress
V[13:37:31.464] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[13:37:31.464] --> $/progress
V[13:37:31.464] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[13:37:31.465] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[13:37:31.471] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[13:37:31.472] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[13:37:31.472] Ignored diagnostic. too many errors emitted, stopping now
I[13:37:31.475] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[13:37:31.475] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[13:37:31.490] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[13:37:31.505] --> $/progress
V[13:37:31.505] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[13:37:31.505] --> $/progress
V[13:37:31.505] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[13:37:31.506] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
I[13:37:31.506] --> $/progress
V[13:37:31.506] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[13:37:31.506] --> $/progress
V[13:37:31.506] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[13:37:31.508] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
V[13:37:31.513] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 2529 symbols, 722462 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
I[13:37:31.519] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (310 symbols, 2729 refs, 25 files)
I[13:37:31.521] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (21 symbols, 150 refs, 5 files)
I[13:37:31.536] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp (633 symbols, 3625 refs, 37 files)
I[13:37:31.538] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
V[13:37:31.542] Build dynamic index for header symbols with estimated memory usage of 2176842 bytes
V[13:37:31.543] Built preamble of size 432588 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp version 1
I[13:37:31.547] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (602 symbols, 3499 refs, 37 files)
V[13:37:31.570] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[13:37:31.570] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[13:37:31.570] --> textDocument/publishDiagnostics
V[13:37:31.570] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server3462225707/sketch/HC-SR04.ino.cpp","version":1}}

V[13:37:31.570] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server3462225707\sketch\HC-SR04.ino.cpp
I[13:37:31.571] --> reply:textDocument/documentSymbol("2") 174 ms
V[13:37:31.580] >>> {"id":"2","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[13:37:31.583] --> $/progress
V[13:37:31.584] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[13:37:31.584] --> $/progress
V[13:37:31.584] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[13:37:31.585] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
I[13:37:31.586] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (270 symbols, 2846 refs, 25 files)
I[13:37:31.658] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (558 symbols, 3441 refs, 37 files)







Started logging.
I[13:37:31.718] clangd version 14.0.0
I[13:37:31.719] Features: windows
I[13:37:31.719] PID: 11072
I[13:37:31.719] Working directory: e:\5-教程\1.tutorial\ZYC0068四循小车教程\新写的教程综合\3_代码\HC-SR04
I[13:37:31.719] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[13:37:31.719] argv[1]: -log=verbose
I[13:37:31.719] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113
I[13:37:31.719] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[13:37:31.723] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[13:37:31.723] Starting LSP over stdin/stdout
V[13:37:31.723] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":23240,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server1459306113/sketch","trace":"off","workspaceFolders":[{"name":"HC-SR04","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0068%E5%9B%9B%E5%BE%AA%E5%B0%8F%E8%BD%A6%E6%95%99%E7%A8%8B/%E6%96%B0%E5%86%99%E7%9A%84%E6%95%99%E7%A8%8B%E7%BB%BC%E5%90%88/3_%E4%BB%A3%E7%A0%81/HC-SR04"}]}}

I[13:37:31.723] <-- initialize("1")
I[13:37:31.741] --> reply:initialize("1") 17 ms
V[13:37:31.741] >>> {"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"}}}

V[13:37:31.741] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[13:37:31.741] <-- initialized
V[13:37:31.743] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server1459306113/sketch/HC-SR04.ino.cpp","version":1}}}

I[13:37:31.743] <-- textDocument/didOpen
V[13:37:31.743] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server1459306113/sketch/HC-SR04.ino.cpp"}}}

I[13:37:31.743] <-- textDocument/documentSymbol("2")
V[13:37:31.744] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\.clangd:1:0: Parsing config fragment
V[13:37:31.744] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\.clangd:1:0: Parsed 1 fragments from file
V[13:37:31.744] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\.clangd:1 -> 0x000001EFFC368450 (trusted=false)
I[13:37:31.745] --> textDocument/publishDiagnostics
V[13:37:31.745] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server1459306113/.clangd"}}

I[13:37:31.745] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\compile_commands.json
V[13:37:31.745] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113
I[13:37:31.746] --> window/workDoneProgress/create(0)
V[13:37:31.746] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[13:37:31.747] Enqueueing 26 commands for indexing
V[13:37:31.747] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[13:37:31.747] <-- reply(0)
I[13:37:31.747] --> $/progress
V[13:37:31.747] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[13:37:31.747] --> $/progress
V[13:37:31.747] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[13:37:31.747] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[13:37:31.748] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[13:37:31.751] --> $/progress
V[13:37:31.751] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[13:37:31.784] System include extraction: target extracted: "avr"
V[13:37:31.784] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.784] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.784] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.784] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[13:37:31.785] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp version 1 with command 
[C:\Windows\system32]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch\\HC-SR04.ino.cpp"
V[13:37:31.785] System include extraction: target extracted: "avr"
V[13:37:31.785] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.785] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.785] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.785] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.786] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp (digest:=D4C5EBBD23C70353)
V[13:37:31.792] System include extraction: target extracted: "avr"
V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.792] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.792] System include extraction: target extracted: "avr"
V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.792] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.792] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.793] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[13:37:31.795] System include extraction: target extracted: "avr"
V[13:37:31.795] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.795] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.795] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.795] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.795] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=C:\\Windows\\system32" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=C:\\Windows\\system32" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server1459306113\\sketch\\HC-SR04.ino.cpp"
V[13:37:31.795] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp version 1
V[13:37:31.796] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
V[13:37:31.797] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
V[13:37:31.800] System include extraction: target extracted: "avr"
V[13:37:31.800] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.800] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.800] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.800] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.802] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[13:37:31.803] System include extraction: target extracted: "avr"
V[13:37:31.803] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:31.803] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:31.803] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:31.803] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:31.822] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[13:37:31.852] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (310 symbols, 2729 refs, 25 files)
V[13:37:31.858] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 2529 symbols, 722462 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
V[13:37:31.862] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[13:37:31.863] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[13:37:31.866] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (309 symbols, 2669 refs, 25 files)
I[13:37:31.876] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp (633 symbols, 3625 refs, 37 files)
I[13:37:31.877] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (600 symbols, 3432 refs, 36 files)
I[13:37:31.878] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (602 symbols, 3517 refs, 37 files)
I[13:37:31.878] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
V[13:37:31.886] Build dynamic index for header symbols with estimated memory usage of 2176714 bytes
V[13:37:31.887] Built preamble of size 432588 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp version 1
I[13:37:31.895] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (613 symbols, 3659 refs, 35 files)
V[13:37:31.911] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[13:37:31.911] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[13:37:31.911] --> textDocument/publishDiagnostics
V[13:37:31.911] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server1459306113/sketch/HC-SR04.ino.cpp","version":1}}

V[13:37:31.911] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server1459306113\sketch\HC-SR04.ino.cpp
I[13:37:31.912] --> reply:textDocument/documentSymbol("2") 168 ms
V[13:37:31.912] >>> {"id":"2","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[13:37:32.254] --> $/progress
V[13:37:32.254] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[13:37:32.254] --> $/progress
V[13:37:32.254] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[13:37:32.260] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[13:37:32.303] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (25 symbols, 2278 refs, 25 files)
V[13:37:32.431] BackgroundIndex: building version 1 after indexing enough files
V[13:37:32.471] BackgroundIndex: serving version 1 (1534306 bytes)
I[13:37:32.473] --> $/progress
V[13:37:32.473] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[13:37:32.473] --> $/progress
V[13:37:32.473] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[13:37:32.474] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[13:37:32.519] --> $/progress
V[13:37:32.520] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[13:37:32.520] --> $/progress
V[13:37:32.520] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[13:37:32.520] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[13:37:32.566] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (9 symbols, 2241 refs, 35 files)
I[13:37:32.569] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (17 symbols, 2483 refs, 38 files)
I[13:37:32.658] --> $/progress
V[13:37:32.658] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[13:37:32.658] --> $/progress
V[13:37:32.658] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[13:37:32.663] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[13:37:32.738] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[13:37:32.738] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[13:37:32.745] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (7 symbols, 2322 refs, 37 files)
I[13:37:32.745] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[13:37:32.765] --> $/progress
V[13:37:32.765] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[13:37:32.765] --> $/progress
V[13:37:32.765] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[13:37:32.767] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[13:37:32.781] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[13:37:32.844] --> $/progress
V[13:37:32.844] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[13:37:32.844] --> $/progress
V[13:37:32.844] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[13:37:32.850] --> $/progress
V[13:37:32.850] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[13:37:32.850] --> $/progress
V[13:37:32.850] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[13:37:32.856] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
V[13:37:32.866] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[13:37:32.875] --> $/progress
V[13:37:32.875] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[13:37:32.875] --> $/progress
V[13:37:32.875] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[13:37:32.898] --> $/progress
V[13:37:32.898] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[13:37:32.898] --> $/progress
V[13:37:32.898] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[13:37:32.901] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[13:37:32.903] --> $/progress
V[13:37:32.903] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[13:37:32.903] --> $/progress
V[13:37:32.903] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[13:37:32.908] --> $/progress
V[13:37:32.908] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[13:37:32.908] --> $/progress
V[13:37:32.908] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[13:37:32.910] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
V[13:37:32.910] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[13:37:32.911] --> $/progress
V[13:37:32.911] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[13:37:32.911] --> $/progress
V[13:37:32.911] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[13:37:32.914] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
V[13:37:32.914] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[13:37:32.957] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (5 symbols, 2144 refs, 25 files)
I[13:37:32.973] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (7 symbols, 2295 refs, 37 files)
I[13:37:32.975] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (23 symbols, 2360 refs, 36 files)
I[13:37:32.976] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (5 symbols, 2237 refs, 36 files)
I[13:37:32.976] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (5 symbols, 2266 refs, 37 files)
I[13:37:32.988] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (20 symbols, 2351 refs, 35 files)
I[13:37:32.996] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (442 symbols, 3151 refs, 36 files)
I[13:37:33.064] --> $/progress
V[13:37:33.064] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[13:37:33.064] --> $/progress
V[13:37:33.064] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[13:37:33.072] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[13:37:33.131] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (226 symbols, 2559 refs, 25 files)
I[13:37:33.270] --> $/progress
V[13:37:33.270] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[13:37:33.270] --> $/progress
V[13:37:33.270] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

V[13:37:33.276] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
I[13:37:33.309] --> $/progress
V[13:37:33.309] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[13:37:33.309] --> $/progress
V[13:37:33.309] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[13:37:33.310] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[13:37:33.340] --> $/progress
V[13:37:33.340] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[13:37:33.340] --> $/progress
V[13:37:33.340] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

V[13:37:33.340] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[13:37:33.347] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (7 symbols, 2169 refs, 25 files)
I[13:37:33.349] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (31 symbols, 2388 refs, 35 files)
I[13:37:33.357] --> $/progress
V[13:37:33.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[13:37:33.357] --> $/progress
V[13:37:33.357] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[13:37:33.358] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[13:37:33.369] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
I[13:37:33.387] --> $/progress
V[13:37:33.387] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[13:37:33.387] --> $/progress
V[13:37:33.387] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

V[13:37:33.388] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
I[13:37:33.388] --> $/progress
V[13:37:33.388] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[13:37:33.388] --> $/progress
V[13:37:33.388] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[13:37:33.389] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[13:37:33.397] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (20 symbols, 2464 refs, 35 files)
I[13:37:33.406] --> $/progress
V[13:37:33.406] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[13:37:33.406] --> $/progress
V[13:37:33.406] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[13:37:33.406] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
I[13:37:33.418] --> $/progress
V[13:37:33.418] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[13:37:33.421] --> $/progress
V[13:37:33.421] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[13:37:33.421] --> $/progress
V[13:37:33.421] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[13:37:33.423] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[13:37:33.425] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (5 symbols, 2118 refs, 25 files)
I[13:37:33.440] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (5 symbols, 2237 refs, 36 files)
I[13:37:33.471] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (293 symbols, 2609 refs, 25 files)
I[13:37:33.474] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (299 symbols, 2470 refs, 18 files)
V[13:37:33.569] BackgroundIndex: building version 1 after indexing enough files
I[13:37:33.589] --> $/progress
V[13:37:33.589] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[13:37:33.589] --> $/progress
V[13:37:33.589] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[13:37:33.590] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
V[13:37:33.590] BackgroundIndex: serving version 1 (1462906 bytes)
I[13:37:33.593] --> $/progress
V[13:37:33.593] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[13:37:33.593] --> $/progress
V[13:37:33.593] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[13:37:33.594] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[13:37:33.669] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (600 symbols, 3583 refs, 35 files)
I[13:37:33.671] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (602 symbols, 3710 refs, 38 files)
I[13:37:33.711] --> $/progress
V[13:37:33.711] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[13:37:33.743] --> $/progress
V[13:37:33.744] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[13:37:33.788] --> $/progress
V[13:37:33.788] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[13:37:33.805] --> $/progress
V[13:37:33.805] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[13:37:33.805] BackgroundIndex: building version 2 when background indexer is idle
V[13:37:33.817] BackgroundIndex: serving version 2 (1805710 bytes)
I[13:37:33.817] --> $/progress
V[13:37:33.817] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

I[13:37:33.917] --> $/progress
V[13:37:33.917] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[13:37:33.917] --> $/progress
V[13:37:33.917] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[13:37:33.922] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
I[13:37:33.965] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (310 symbols, 2769 refs, 25 files)
I[13:37:34.016] --> $/progress
V[13:37:34.016] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[13:37:34.016] --> $/progress
V[13:37:34.016] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[13:37:34.017] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[13:37:34.018] --> $/progress
V[13:37:34.018] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[13:37:34.018] --> $/progress
V[13:37:34.018] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

V[13:37:34.018] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
I[13:37:34.078] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (600 symbols, 3493 refs, 37 files)
I[13:37:34.079] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (601 symbols, 3522 refs, 37 files)
I[13:37:34.147] --> $/progress
V[13:37:34.147] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[13:37:34.147] --> $/progress
V[13:37:34.147] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[13:37:34.156] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[13:37:34.185] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (42 symbols, 134 refs, 3 files)
I[13:37:34.273] --> $/progress
V[13:37:34.273] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[13:37:34.273] --> $/progress
V[13:37:34.273] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

V[13:37:34.279] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[13:37:34.377] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (602 symbols, 3436 refs, 35 files)
I[13:37:34.496] --> $/progress
V[13:37:34.496] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[13:37:34.496] --> $/progress
V[13:37:34.496] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[13:37:34.498] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[13:37:34.512] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[13:37:34.619] --> $/progress
V[13:37:34.619] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[13:37:34.619] --> $/progress
V[13:37:34.619] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[13:37:34.620] --> $/progress
V[13:37:34.620] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[13:37:34.620] --> $/progress
V[13:37:34.620] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[13:37:34.621] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
V[13:37:34.621] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
I[13:37:34.622] --> $/progress
V[13:37:34.622] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[13:37:34.622] --> $/progress
V[13:37:34.622] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

V[13:37:34.622] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
I[13:37:34.668] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (308 symbols, 2892 refs, 25 files)
I[13:37:34.682] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (600 symbols, 3461 refs, 37 files)
I[13:37:34.686] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (600 symbols, 3544 refs, 35 files)
I[13:37:34.842] --> $/progress
V[13:37:34.842] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[13:37:34.842] --> $/progress
V[13:37:34.842] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[13:37:34.845] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
I[13:37:34.853] --> $/progress
V[13:37:34.853] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[13:37:34.853] --> $/progress
V[13:37:34.853] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

V[13:37:34.856] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[13:37:34.904] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (600 symbols, 3461 refs, 37 files)
I[13:37:34.915] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (620 symbols, 3567 refs, 36 files)
I[13:37:35.229] --> $/progress
V[13:37:35.229] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[13:37:35.229] --> $/progress
V[13:37:35.229] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[13:37:35.246] --> $/progress
V[13:37:35.246] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[13:37:35.246] --> $/progress
V[13:37:35.246] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[13:37:35.253] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
I[13:37:35.283] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (61 symbols, 201 refs, 5 files)
V[13:37:35.289] System include extraction: target extracted: "avr"
V[13:37:35.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[13:37:35.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[13:37:35.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[13:37:35.289] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[13:37:35.289] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[13:37:35.302] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[13:37:35.303] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[13:37:35.303] Ignored diagnostic. too many errors emitted, stopping now
I[13:37:35.305] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[13:37:35.305] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[13:37:35.341] --> $/progress
V[13:37:35.341] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[13:37:35.377] --> $/progress
V[13:37:35.377] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[13:37:35.413] --> $/progress
V[13:37:35.413] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[13:37:35.435] --> $/progress
V[13:37:35.435] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[13:37:35.539] --> $/progress
V[13:37:35.539] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[13:37:35.543] BackgroundIndex: building version 2 when background indexer is idle
V[13:37:35.555] BackgroundIndex: serving version 2 (1814562 bytes)
I[13:37:35.555] --> $/progress
V[13:37:35.555] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[13:37:50.035] <<< {"id":"3","jsonrpc":"2.0","method":"shutdown","params":null}

I[13:37:50.035] <-- shutdown("3")
I[13:37:50.035] --> reply:shutdown("3") 0 ms
V[13:37:50.035] >>> {"id":"3","jsonrpc":"2.0","result":null}

V[13:37:55.562] <<< {"id":"3","jsonrpc":"2.0","method":"shutdown","params":null}

I[13:37:55.562] <-- shutdown("3")
I[13:37:55.562] --> reply:shutdown("3") 0 ms
V[13:37:55.562] >>> {"id":"3","jsonrpc":"2.0","result":null}








Started logging.
I[14:26:40.225] clangd version 14.0.0
I[14:26:40.226] Features: windows
I[14:26:40.226] PID: 17356
I[14:26:40.226] Working directory: e:\5-教程\1.tutorial\ZYC0068四循小车教程\新写的教程综合\3_代码\HC-SR04
I[14:26:40.226] argv[0]: d:\Program Files\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\clangd.exe
I[14:26:40.226] argv[1]: -log=verbose
I[14:26:40.226] argv[2]: --compile-commands-dir=C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564
I[14:26:40.226] argv[3]: -query-driver=C:\Users\Administrator\AppData\Local\Arduino15\packages\**
V[14:26:40.229] User config file is C:\Users\Administrator\AppData\Local\clangd\config.yaml
I[14:26:40.229] Starting LSP over stdin/stdout
V[14:26:40.230] <<< {"id":"1","jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dynamicRegistration":true,"isPreferredSupport":true},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":true,"snippetSupport":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,"dynamicRegistration":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":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]}},"foldingRange":{"dynamicRegistration":true,"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true},"selectionRange":{"dynamicRegistration":true},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true}},"window":{"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"executeCommand":{"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]}},"workspaceEdit":{"documentChanges":true,"failureHandling":"textOnlyTransactional","resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"vscode","version":"1.53.2"},"initializationOptions":{},"processId":15940,"rootPath":"C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch","rootUri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch","trace":"off","workspaceFolders":[{"name":"HC-SR04","uri":"file:///e%3A/5-%E6%95%99%E7%A8%8B/1.tutorial/ZYC0068%E5%9B%9B%E5%BE%AA%E5%B0%8F%E8%BD%A6%E6%95%99%E7%A8%8B/%E6%96%B0%E5%86%99%E7%9A%84%E6%95%99%E7%A8%8B%E7%BB%BC%E5%90%88/3_%E4%BB%A3%E7%A0%81/HC-SR04"}]}}

I[14:26:40.230] <-- initialize("1")
I[14:26:40.246] --> reply:initialize("1") 16 ms
V[14:26:40.246] >>> {"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"}}}

V[14:26:40.247] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}

I[14:26:40.247] <-- initialized
V[14:26:40.249] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"#include <Arduino.h>\n#line 1 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\n/*************************************\n *     TIME:2022.6.25\n *     Development Team: Zhiyi Technology Co., Ltd.\n * \n *  **************************************/\n#include <Servo.h>  //servo library\nServo myservo;      // create servo object to control servo\n\nint Trig = 12;//Pin to D12  \nint Echo = 13;//Pin to D13\n\n#define ENA  5 \n#define ENB  6       \n#define IN1  3      \n#define IN2  4    \n#define IN3  2    \n#define IN4  7   \n\n\n#define carSpeed 130//Set the carSpeed to 160\nint rightDistance = 0, leftDistance = 0, middleDistance = 0;\n\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward();\n#line 36 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid back();\n#line 48 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid left();\n#line 61 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid right();\n#line 74 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid stop();\n#line 82 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nfloat GetDistance();\n#line 98 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid setup();\n#line 115 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid loop();\n#line 23 \"E:\\\\5-教程\\\\1.tutorial\\\\ZYC0068四循小车教程\\\\新写的教程综合\\\\3_代码\\\\HC-SR04\\\\HC-SR04.ino\"\nvoid forward(){//forward function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The right forward\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n  //The left forward\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Forward\");\n}\n\nvoid back() {//back function\n  analogWrite(ENA, carSpeed);//Set the speed of ENA\n  analogWrite(ENB, carSpeed);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n  Serial.println(\"Back\");\n}\n\nvoid left() {//left function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n   //The right forward\n  digitalWrite(IN1, LOW);\n  digitalWrite(IN2, HIGH);\n  //The left back\n  digitalWrite(IN3, HIGH);\n  digitalWrite(IN4, LOW);\n\n  Serial.println(\"Left\");\n}\n\nvoid right() {//right function\n  analogWrite(ENA, 200);//Set the speed of ENA\n  analogWrite(ENB, 200);//Set the speed of ENB\n  //The rihgt back\n  digitalWrite(IN1, HIGH);\n  digitalWrite(IN2, LOW);\n   //The left forward\n  digitalWrite(IN3, LOW);\n  digitalWrite(IN4, HIGH);\n\n  Serial.println(\"Right\");\n}\n\nvoid stop() {//stop function\n  digitalWrite(ENA, LOW);//Set the speed of ENA to low \n  digitalWrite(ENB, LOW);//Set the speed of ENB to low\n  Serial.println(\"Stop!\");\n}\n\n\n\nfloat GetDistance()\n{\n  float distance;\n  // Send a low short pulse to Trig to trigger the ranging\n  digitalWrite(Trig, LOW); //Send a low level to Trig\n  delayMicroseconds(2); \n  digitalWrite(Trig, HIGH); \n  delayMicroseconds(10);\n  digitalWrite(Trig, LOW);\n  distance = pulseIn(Echo, HIGH) / 58.00;\n    \n  Serial.print(\"Distance = \");\n  Serial.println(distance);//The serial output distance is converted into cm\n  return distance;\n}\n\nvoid setup() {\n  myservo.attach(A0,700,2400);  // attach servo on pin 3 to servo object\n  Serial.begin(9600);\n  pinMode(Echo, INPUT);\n  pinMode(Trig, OUTPUT);\n  pinMode(IN1, OUTPUT);\n  pinMode(IN2, OUTPUT);\n  pinMode(IN3, OUTPUT);\n  pinMode(IN4, OUTPUT);\n  pinMode(ENA, OUTPUT);\n  pinMode(ENB, OUTPUT);\n\n  stop();\n  myservo.write(100);  //setservo position according to scaled value\n    delay(100);\n}\n\nvoid loop() \n{\n    middleDistance = GetDistance();//getDistance();\n    if(middleDistance <= 18) \n    {\n        stop();\n        delay(500);\n        myservo.write(10);\n        delay(500);\n        rightDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n        myservo.write(180);\n        delay(500);\n        leftDistance = GetDistance();//getDistance();\n\n        delay(500);\n        myservo.write(100);\n        delay(500);\n     \n        if(rightDistance > leftDistance) \n        {\n            back();\n            delay(300);\n            right(); \n            delay(300);\n        }\n        else if(rightDistance < leftDistance) \n        {\n            back();\n            delay(300);\n            left(); \n            delay(300);\n        }\n        \n        else \n        {\n            forward();\n        }\n    }\n    else \n    {\n        forward();\n    }\n}\n\n","uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp","version":1}}}

I[14:26:40.249] <-- textDocument/didOpen
V[14:26:40.249] <<< {"id":"2","jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp"}}}

I[14:26:40.249] <-- textDocument/documentSymbol("2")
V[14:26:40.250] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\.clangd:1:0: Parsing config fragment
V[14:26:40.250] config note at C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\.clangd:1:0: Parsed 1 fragments from file
V[14:26:40.250] Config fragment: compiling C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\.clangd:1 -> 0x000001F8BC7D5180 (trusted=false)
I[14:26:40.250] --> textDocument/publishDiagnostics
V[14:26:40.250] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/.clangd"}}

I[14:26:40.251] Loaded compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\compile_commands.json
V[14:26:40.251] Broadcasting compilation database from C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564
I[14:26:40.252] --> window/workDoneProgress/create(0)
V[14:26:40.252] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}

I[14:26:40.252] Enqueueing 26 commands for indexing
V[14:26:40.252] <<< {"id":0,"jsonrpc":"2.0","result":null}

I[14:26:40.252] <-- reply(0)
I[14:26:40.252] --> $/progress
V[14:26:40.252] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}

I[14:26:40.252] --> $/progress
V[14:26:40.252] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}

V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c
V[14:26:40.253] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp
V[14:26:40.254] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp
V[14:26:40.254] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c
V[14:26:40.254] Failed to load shard: C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp
V[14:26:40.254] Failed to load shard: C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c
I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/27","percentage":0}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

I[14:26:40.256] --> $/progress
V[14:26:40.256] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"1/27","percentage":3}}}

V[14:26:40.283] System include extraction: target extracted: "avr"
V[14:26:40.284] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.284] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.284] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.284] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
I[14:26:40.284] ASTWorker building file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp version 1 with command 
[E:\5-教程\1.tutorial\ZYZ0286-328p带屏幕工控板\3_Arduino_Code\2_InOut_control]
"C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\avr-g++.exe" --target=avr --driver-mode=g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" "-IC:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" "-Id:\\Arduino\\libraries\\Servo\\src" -o "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -ferror-limit=0 "-resource-dir=d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -- "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch\\HC-SR04.ino.cpp"
V[14:26:40.289] System include extraction: target extracted: "avr"
V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.289] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.289] System include extraction: target extracted: "avr"
V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.289] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.289] System include extraction: target extracted: "avr"
V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.289] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.289] Indexing C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp (digest:=D4C5EBBD23C70353)
V[14:26:40.289] System include extraction: target extracted: "avr"
V[14:26:40.289] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.290] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.290] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.290] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.290] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (digest:=343A7ACAD5FD2414)
V[14:26:40.290] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (digest:=3DD4F70FCF8C4FA6)
V[14:26:40.290] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (digest:=5D6C1534064234DD)
V[14:26:40.292] Driver produced command: cc1 -cc1 -triple avr -fsyntax-only -flto=full -flto-unit -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name HC-SR04.ino.cpp -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -fno-use-init-array -fno-use-cxa-atexit -target-cpu atmega328p -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -ffunction-sections -fdata-sections "-fcoverage-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYZ0286-328p\xE5\xB8\xA6\xE5\xB1\x8F\xE5\xB9\x95\xE5\xB7\xA5\xE6\x8E\xA7\xE6\x9D\xBF\\3_Arduino_Code\\2_InOut_control" -resource-dir "d:\\Program Files\\Arduino IDE\\resources\\app\\node_modules\\arduino-ide-extension\\lib\\clang\\14.0.0" -dependency-file "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch\\HC-SR04.ino.cpp.d" -MT "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch\\HC-SR04.ino.cpp.o" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/include-fixed" -isystem "c:\\users\\administrator\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin\\../lib/gcc/avr/7.3.0/../../../../avr/include" -D F_CPU=16000000L -D ARDUINO=10607 -D ARDUINO_AVR_UNO -D ARDUINO_ARCH_AVR -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\cores\\arduino" -I "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.5\\variants\\standard" -I "d:\\Arduino\\libraries\\Servo\\src" -internal-isystem "C:\\Users\\Administrator\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\bin/../lib/gcc/avr/7.3.0/../../../../avr/include" -Os -Wno-error=narrowing -w -std=gnu++11 -fdeprecated-macro "-fdebug-compilation-dir=E:\\5-\xE6\x95\x99\xE7\xA8\x8B\\1.tutorial\\ZYZ0286-328p\xE5\xB8\xA6\xE5\xB1\x8F\xE5\xB9\x95\xE5\xB7\xA5\xE6\x8E\xA7\xE6\x9D\xBF\\3_Arduino_Code\\2_InOut_control" -ferror-limit 0 -fgnuc-version=4.2.1 -fno-threadsafe-statics -vectorize-loops -vectorize-slp -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ "C:\\Users\\Administrator\\AppData\\Local\\Temp\\arduino-language-server4081114564\\sketch\\HC-SR04.ino.cpp"
V[14:26:40.292] Building first preamble for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp version 1
V[14:26:40.296] System include extraction: target extracted: "avr"
V[14:26:40.296] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.296] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.296] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.296] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-g++.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.297] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (digest:=D7FFC6931C21680C)
V[14:26:40.302] System include extraction: target extracted: "avr"
V[14:26:40.302] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.302] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.302] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.302] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.303] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (digest:=0A36B38756A4F148)
I[14:26:40.344] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_digital.c (310 symbols, 2898 refs, 25 files)
V[14:26:40.350] indexed preamble AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 2529 symbols, 722462 bytes
  ref slab: 0 symbols, 0 refs, 136 bytes
  relations slab: 9 relations, 177 bytes
I[14:26:40.353] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring.c (312 symbols, 2775 refs, 25 files)
I[14:26:40.353] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WInterrupts.c (311 symbols, 2694 refs, 25 files)
I[14:26:40.360] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial3.cpp (602 symbols, 3499 refs, 37 files)
I[14:26:40.366] Indexed C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp (633 symbols, 3625 refs, 37 files)
I[14:26:40.373] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial2.cpp (602 symbols, 3499 refs, 37 files)
V[14:26:40.378] Build dynamic index for header symbols with estimated memory usage of 2176746 bytes
V[14:26:40.379] Built preamble of size 433180 for file C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp version 1
V[14:26:40.403] indexed file AST for C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp version 1:
  symbol slab: 21 symbols, 9096 bytes
  ref slab: 41 symbols, 203 refs, 9336 bytes
  relations slab: 0 relations, 24 bytes
V[14:26:40.403] Build dynamic index for main-file symbols with estimated memory usage of 32360 bytes
I[14:26:40.403] --> textDocument/publishDiagnostics
V[14:26:40.403] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp","version":1}}

V[14:26:40.403] ASTWorker running DocumentSymbols on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp
I[14:26:40.404] --> reply:textDocument/documentSymbol("2") 154 ms
V[14:26:40.404] >>> {"id":"2","jsonrpc":"2.0","result":[{"detail":"Servo","kind":13,"name":"myservo","range":{"end":{"character":13,"line":8},"start":{"character":0,"line":8}},"selectionRange":{"end":{"character":13,"line":8},"start":{"character":6,"line":8}}},{"detail":"int","kind":13,"name":"Trig","range":{"end":{"character":13,"line":10},"start":{"character":0,"line":10}},"selectionRange":{"end":{"character":8,"line":10},"start":{"character":4,"line":10}}},{"detail":"int","kind":13,"name":"Echo","range":{"end":{"character":13,"line":11},"start":{"character":0,"line":11}},"selectionRange":{"end":{"character":8,"line":11},"start":{"character":4,"line":11}}},{"detail":"int","kind":13,"name":"rightDistance","range":{"end":{"character":21,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":17,"line":22},"start":{"character":4,"line":22}}},{"detail":"int","kind":13,"name":"leftDistance","range":{"end":{"character":39,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":35,"line":22},"start":{"character":23,"line":22}}},{"detail":"int","kind":13,"name":"middleDistance","range":{"end":{"character":59,"line":22},"start":{"character":0,"line":22}},"selectionRange":{"end":{"character":55,"line":22},"start":{"character":41,"line":22}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":14,"line":25},"start":{"character":0,"line":25}},"selectionRange":{"end":{"character":12,"line":25},"start":{"character":5,"line":25}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":11,"line":27},"start":{"character":0,"line":27}},"selectionRange":{"end":{"character":9,"line":27},"start":{"character":5,"line":27}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":11,"line":29},"start":{"character":0,"line":29}},"selectionRange":{"end":{"character":9,"line":29},"start":{"character":5,"line":29}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":12,"line":31},"start":{"character":0,"line":31}},"selectionRange":{"end":{"character":10,"line":31},"start":{"character":5,"line":31}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":11,"line":33},"start":{"character":0,"line":33}},"selectionRange":{"end":{"character":9,"line":33},"start":{"character":5,"line":33}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":19,"line":35},"start":{"character":0,"line":35}},"selectionRange":{"end":{"character":17,"line":35},"start":{"character":6,"line":35}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":12,"line":37},"start":{"character":0,"line":37}},"selectionRange":{"end":{"character":10,"line":37},"start":{"character":5,"line":37}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":11,"line":39},"start":{"character":0,"line":39}},"selectionRange":{"end":{"character":9,"line":39},"start":{"character":5,"line":39}}},{"detail":"void ()","kind":12,"name":"forward","range":{"end":{"character":1,"line":52},"start":{"character":0,"line":41}},"selectionRange":{"end":{"character":12,"line":41},"start":{"character":5,"line":41}}},{"detail":"void ()","kind":12,"name":"back","range":{"end":{"character":1,"line":64},"start":{"character":0,"line":54}},"selectionRange":{"end":{"character":9,"line":54},"start":{"character":5,"line":54}}},{"detail":"void ()","kind":12,"name":"left","range":{"end":{"character":1,"line":77},"start":{"character":0,"line":66}},"selectionRange":{"end":{"character":9,"line":66},"start":{"character":5,"line":66}}},{"detail":"void ()","kind":12,"name":"right","range":{"end":{"character":1,"line":90},"start":{"character":0,"line":79}},"selectionRange":{"end":{"character":10,"line":79},"start":{"character":5,"line":79}}},{"detail":"void ()","kind":12,"name":"stop","range":{"end":{"character":1,"line":96},"start":{"character":0,"line":92}},"selectionRange":{"end":{"character":9,"line":92},"start":{"character":5,"line":92}}},{"detail":"float ()","kind":12,"name":"GetDistance","range":{"end":{"character":1,"line":114},"start":{"character":0,"line":100}},"selectionRange":{"end":{"character":17,"line":100},"start":{"character":6,"line":100}}},{"detail":"void ()","kind":12,"name":"setup","range":{"end":{"character":1,"line":131},"start":{"character":0,"line":116}},"selectionRange":{"end":{"character":10,"line":116},"start":{"character":5,"line":116}}},{"detail":"void ()","kind":12,"name":"loop","range":{"end":{"character":1,"line":179},"start":{"character":0,"line":133}},"selectionRange":{"end":{"character":9,"line":133},"start":{"character":5,"line":133}}}]}

I[14:26:40.848] --> $/progress
V[14:26:40.848] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

I[14:26:40.848] --> $/progress
V[14:26:40.848] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"2/27","percentage":7}}}

V[14:26:40.859] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (digest:=F68AA83B5BAAD75D)
I[14:26:40.892] --> $/progress
V[14:26:40.892] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

I[14:26:40.892] --> $/progress
V[14:26:40.892] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"3/27","percentage":11}}}

V[14:26:40.894] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (digest:=6DDB6ED4F4E34E63)
I[14:26:40.898] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\new.cpp (21 symbols, 150 refs, 5 files)
I[14:26:40.899] --> $/progress
V[14:26:40.899] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

I[14:26:40.899] --> $/progress
V[14:26:40.899] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"4/27","percentage":14}}}

V[14:26:40.932] System include extraction: target extracted: "avr"
V[14:26:40.932] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include

V[14:26:40.932] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed

V[14:26:40.932] System include extraction: adding  c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include

I[14:26:40.932] System includes extractor: successfully executed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\avr-gcc.exe
	got includes: "c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/include-fixed, c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include"
	got target: "avr"
V[14:26:40.932] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (digest:=87583F1C920AA889)
V[14:26:40.945] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:54:1:expected identifier or '('
V[14:26:40.945] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:62:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:63:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:64:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:65:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:66:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:67:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:72:37:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:73:31:expected ';' after top level declarator
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:79:23:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:32:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:83:35:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:84:22:unknown type name 'maxloops'
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:8:expected ';' after top level declarator
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:85:22:unknown type name 'maxloops'
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:8:expected ';' after top level declarator
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:86:22:unknown type name 'maxloops'
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:9:expected ';' after top level declarator
V[14:26:40.946] Ignored diagnostic. C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S:87:18:expected identifier or '('
V[14:26:40.946] Ignored diagnostic. too many errors emitted, stopping now
I[14:26:40.949] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S (12 symbols, 937 refs, 9 files)
I[14:26:40.949] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.S, index may be incomplete
I[14:26:40.957] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\IPAddress.cpp (214 symbols, 2802 refs, 36 files)
I[14:26:40.965] --> $/progress
V[14:26:40.965] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

I[14:26:40.965] --> $/progress
V[14:26:40.965] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"5/27","percentage":18}}}

V[14:26:40.966] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (digest:=81BB1157C290C33B)
I[14:26:41.014] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Print.cpp (220 symbols, 2818 refs, 35 files)
I[14:26:41.028] --> $/progress
V[14:26:41.029] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

I[14:26:41.029] --> $/progress
V[14:26:41.029] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"6/27","percentage":22}}}

V[14:26:41.029] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (digest:=4A1244E54C0CAC04)
I[14:26:41.040] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\abi.cpp (2 symbols, 83 refs, 3 files)
V[14:26:41.044] BackgroundIndex: building version 1 after indexing enough files
V[14:26:41.051] BackgroundIndex: serving version 1 (1343226 bytes)
I[14:26:41.051] --> $/progress
V[14:26:41.051] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

I[14:26:41.051] --> $/progress
V[14:26:41.051] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"7/27","percentage":25}}}

V[14:26:41.052] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (digest:=E3E9F11672EDD20A)
V[14:26:41.090] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:464:12:value '64' out of range for constraint 'I'
V[14:26:41.091] Ignored diagnostic. c:\users\administrator\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\bin\../lib/gcc/avr/7.3.0/../../../../avr/include\avr/wdt.h:507:23:value '64' out of range for constraint 'I'
I[14:26:41.098] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp (154 symbols, 2655 refs, 37 files)
I[14:26:41.098] Failed to compile C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\CDC.cpp, index may be incomplete
I[14:26:41.175] --> $/progress
V[14:26:41.175] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

I[14:26:41.175] --> $/progress
V[14:26:41.175] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"8/27","percentage":29}}}

V[14:26:41.176] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (digest:=F7D59D2B49112307)
I[14:26:41.202] --> $/progress
V[14:26:41.202] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

I[14:26:41.202] --> $/progress
V[14:26:41.202] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"9/27","percentage":33}}}

V[14:26:41.203] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (digest:=FDB5BCAAB3E73FCE)
I[14:26:41.222] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Stream.cpp (131 symbols, 2607 refs, 35 files)
I[14:26:41.233] --> $/progress
V[14:26:41.233] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

I[14:26:41.233] --> $/progress
V[14:26:41.233] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"10/27","percentage":37}}}

V[14:26:41.234] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (digest:=38075D39C713EC91)
I[14:26:41.245] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\PluggableUSB.cpp (116 symbols, 2493 refs, 36 files)
I[14:26:41.247] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WMath.cpp (46 symbols, 139 refs, 3 files)
I[14:26:41.282] --> $/progress
V[14:26:41.282] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

I[14:26:41.282] --> $/progress
V[14:26:41.282] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"11/27","percentage":40}}}

V[14:26:41.285] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (digest:=293923F15565174B)
I[14:26:41.311] --> $/progress
V[14:26:41.311] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

I[14:26:41.311] --> $/progress
V[14:26:41.311] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"12/27","percentage":44}}}

V[14:26:41.313] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (digest:=365287FBD658A80E)
I[14:26:41.313] --> $/progress
V[14:26:41.313] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[14:26:41.313] --> $/progress
V[14:26:41.313] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"13/27","percentage":48}}}

I[14:26:41.314] --> $/progress
V[14:26:41.314] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

I[14:26:41.314] --> $/progress
V[14:26:41.314] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"14/27","percentage":51}}}

V[14:26:41.315] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (digest:=BC32CF542FD8D605)
V[14:26:41.315] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (digest:=B0774BE9D28D49CB)
I[14:26:41.316] --> $/progress
V[14:26:41.316] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

I[14:26:41.316] --> $/progress
V[14:26:41.316] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"15/27","percentage":55}}}

V[14:26:41.317] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (digest:=55BA50D4FF04E609)
I[14:26:41.318] --> $/progress
V[14:26:41.318] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

I[14:26:41.318] --> $/progress
V[14:26:41.318] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"16/27","percentage":59}}}

V[14:26:41.319] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (digest:=7D1D0E442CF15FC1)
I[14:26:41.348] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_analog.c (4 symbols, 2201 refs, 25 files)
I[14:26:41.348] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_pulse.c (2 symbols, 2141 refs, 25 files)
I[14:26:41.352] --> $/progress
V[14:26:41.352] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[14:26:41.352] --> $/progress
V[14:26:41.352] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"17/27","percentage":62}}}

I[14:26:41.352] --> $/progress
V[14:26:41.352] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

I[14:26:41.352] --> $/progress
V[14:26:41.352] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"18/27","percentage":66}}}

V[14:26:41.352] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (digest:=C16B0ED8B1C5BB9F)
I[14:26:41.355] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\WString.cpp (125 symbols, 2188 refs, 18 files)
V[14:26:41.357] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (digest:=313C4893EB7ADBE6)
I[14:26:41.361] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial0.cpp (153 symbols, 2628 refs, 37 files)
I[14:26:41.362] --> $/progress
V[14:26:41.362] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[14:26:41.362] --> $/progress
V[14:26:41.362] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"19/27","percentage":70}}}

I[14:26:41.363] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\hooks.c (1 symbols, 1 refs, 1 files)
V[14:26:41.363] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (digest:=1C31198B0754810E)
I[14:26:41.364] --> $/progress
V[14:26:41.364] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

I[14:26:41.364] --> $/progress
V[14:26:41.364] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"20/27","percentage":74}}}

V[14:26:41.365] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (digest:=5E8D23E876F6F446)
I[14:26:41.369] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\USBCore.cpp (152 symbols, 2570 refs, 36 files)
I[14:26:41.370] --> $/progress
V[14:26:41.370] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

I[14:26:41.370] --> $/progress
V[14:26:41.370] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"21/27","percentage":77}}}

V[14:26:41.371] Indexing C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (digest:=487C94A1A1F49B6C)
I[14:26:41.377] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial.cpp (154 symbols, 2816 refs, 38 files)
I[14:26:41.379] --> $/progress
V[14:26:41.379] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"22/27","percentage":81}}}

I[14:26:41.388] --> $/progress
V[14:26:41.388] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"23/27","percentage":85}}}

I[14:26:41.399] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\wiring_shift.c (2 symbols, 2115 refs, 25 files)
I[14:26:41.402] --> $/progress
V[14:26:41.402] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"24/27","percentage":88}}}

I[14:26:41.402] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\main.cpp (156 symbols, 2574 refs, 35 files)
I[14:26:41.410] --> $/progress
V[14:26:41.410] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"25/27","percentage":92}}}

I[14:26:41.414] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\HardwareSerial1.cpp (152 symbols, 2599 refs, 37 files)
I[14:26:41.416] Indexed C:\Users\Administrator\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.5\cores\arduino\Tone.cpp (167 symbols, 2797 refs, 35 files)
I[14:26:41.451] --> $/progress
V[14:26:41.451] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"26/27","percentage":96}}}

V[14:26:41.453] BackgroundIndex: building version 2 when background indexer is idle
V[14:26:41.463] BackgroundIndex: serving version 2 (1814226 bytes)
I[14:26:41.464] --> $/progress
V[14:26:41.464] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}

V[14:31:39.183] <<< {"id":"3","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":114},"start":{"character":1,"line":114}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp"}}}

I[14:31:39.183] <-- textDocument/codeAction("3")
V[14:31:39.184] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp
I[14:31:39.185] --> reply:textDocument/codeAction("3") 1 ms
V[14:31:39.185] >>> {"id":"3","jsonrpc":"2.0","result":[]}

V[14:31:40.659] <<< {"id":"4","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":114},"start":{"character":1,"line":114}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp"}}}

I[14:31:40.659] <-- textDocument/codeAction("4")
V[14:31:40.659] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp
I[14:31:40.659] --> reply:textDocument/codeAction("4") 0 ms
V[14:31:40.659] >>> {"id":"4","jsonrpc":"2.0","result":[]}

V[14:31:41.652] <<< {"id":"5","jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":1,"line":114},"start":{"character":1,"line":114}},"textDocument":{"uri":"file:///C:/Users/Administrator/AppData/Local/Temp/arduino-language-server4081114564/sketch/HC-SR04.ino.cpp"}}}

I[14:31:41.652] <-- textDocument/codeAction("5")
V[14:31:41.652] ASTWorker running EnumerateTweaks on version 1 of C:\Users\Administrator\AppData\Local\Temp\arduino-language-server4081114564\sketch\HC-SR04.ino.cpp
I[14:31:41.652] --> reply:textDocument/codeAction("5") 0 ms
V[14:31:41.652] >>> {"id":"5","jsonrpc":"2.0","result":[]}

V[15:33:25.057] <<< {"id":"6","jsonrpc":"2.0","method":"shutdown","params":null}

I[15:33:25.057] <-- shutdown("6")
I[15:33:25.057] --> reply:shutdown("6") 0 ms
V[15:33:25.057] >>> {"id":"6","jsonrpc":"2.0","result":null}

V[15:33:25.060] <<< {"jsonrpc":"2.0","method":"exit","params":null}

