This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

*/

코로나 간이 검사

 코로나 간이 검사를 받았습니다. ㅜ.ㅜ

잠실운동장 건너편 아시아공원 입구에 있는 간이 검사소에서... 점심시간전에 방문했는데 대기자 6~7명 수준으로 대기시간 10분이내에 진행이 되네요.

코에서 검체를 체취하는데 고통스럽습니다. 

빨리 백신이 도입되어야 할 것 같네요.

의료진들 봉사자들 모두 힘내세요.. 

Linux에서 파일명 일괄 변경

 현재 디렉토리 하위에 있는 file명이 from으로 시작되는 모든 파일(fromxxx.xx)을 to로 시작하는 파일로 한번에 변경

 find ./ -name "from*" | sed -e 'p' -e "s/from/to/g" | xargs -n 2 mv


rename 명령어로 변경하기

형식 : rename 's/파일명/변경할파일명/' 대상파일필터

예) 

 rename 's/from/to/' ./*

Visual Studio Code에서 arduino 사용하기

Visual Studio Code에서 arduino를 위한 확장 설치

설치순서


1.확장탭을 누르고 2.검색창에 "arduino"를 입력하면 arduino관련된 확장모듈이 검색된다. 첫번째로 검색된 Microsoft에서 나온 Arduino 확장의 3. install버튼을 클릭한다.

전제조건

Arduino IDE 필요. (다운로드 에서 arduino IDE를 다운받아 설치)

Visual Studio Code 설정

VS Code에서  < Ctrl > + < , > 두키를 동시에 누르면 Search settings 메뉴가 표출된다 여기에서 Extensions > Arduino configuration 을 선택하고 

아래와 같이 Edit in settings.json를 편집한다.
{
    "arduino.path""C:/Program Files (x86)/Arduino",
    "arduino.commandPath""arduino_debug.exe",
    "arduino.logLevel""info",
    "arduino.allowPDEFiletype"false
    "arduino.enableUSBDetection"true,
    "arduino.disableTestingOpen"false,
    "arduino.skipHeaderProvider"false,
    "arduino.additionalUrls": [
        "https://raw.githubusercontent.com/VSChina/azureiotdevkit_tools/master/package_azureboard_index.json",
        "http://arduino.esp8266.com/stable/package_esp8266com_index.json"
    ],
    "arduino.defaultBaudRate"115200
}
"arduino.path" 는 위에서 arduino IDE를 설치한 디렉토리를 기재하여야 한다.

Commands

  • Arduino: Board Manager: Manage packages for boards. You can add 3rd party Arduino board by configuring Additional Board Manager URLs in the board manager.
  • Arduino: Change Baud Rate: Change the baud rate of the selected serial port.
  • Arduino: Change Board Type: Change board type or platform.
  • Arduino: Close Serial Monitor: Stop the serial monitor and release the serial port.
  • Arduino: Examples: Show list of examples.
  • Arduino: Initialize: Scaffold a VS Code project with an Arduino sketch.
  • Arduino: Library Manager: Explore and manage libraries.
  • Arduino: Open Serial Monitor: Open the serial monitor in the integrated output window.
  • Arduino: Select Serial Port: Change the current serial port.
  • Arduino: Send Text to Serial Port: Send a line of text via the current serial port.
  • Arduino: Upload: Build sketch and upload to Arduino board.
  • Arduino: Upload Using Programmer: Upload using an external programmer.
  • Arduino: Verify: Build sketch.

Reference

관련문서