發表文章

目前顯示的是有「VS Code」標籤的文章

[ESP IDF][VS Code]Install, set up ESP IDF and build example in VS Code/在VS Code中安裝,設定ESP IDF與建立範例說明

圖片
  This video shares how to install, set up ESP IDF and build example in VS Code 這個影片分享如何在VS Code中安裝,設定ESP IDF與建立範例說明 1. Install ESP IDF extension in VS Code 在安VS Code中裝ESP IDF擴充套件。 2. Download ESP IDF 下載ESP IDF。 3. Download, set up and verify ESP IDF Tools 下載,設定與驗證ESP IDF Tools。 4. Creat hello_world example 建立一個hello_world範例。 5. Add include Path 加入Include相關檔案的路徑。 6. Build, flash and monitor project 建立,記憶體更新,以及監控專案。

[FreeRTOS][Arduino]Create FreeRTOS task in Arduino with VS Code/使用VS code在Arduino中創建任務

圖片
  This example shows how to create FreeRTOS task, call scheduler and implement task function in Arduin. 這個範例說明如何在Arduino中創建FreeRTOS的任務、呼叫調度器,以及實現任務函數。 1. Only one task in the running state at any one time, the others are in the not running time. 2. Create two print tasks with the same priority. 3. Create two print tasks with different priorities. Only higher priority task is running. (Staved situation happens.) 1. 在任意的時間點只有一個任務能在執行狀態執行,其他的任務都在非執行狀態。 2. 建立兩個任務,有一樣的優先順序。 3. 建立兩個任務,有不同的優先順序。只有優先順序高的任務會被執行。(會有"餓死"的狀況發生。)

[Arduino] Edit Arduino code to control RGB LED in VS code/使用VS code編輯Arduino程式碼來控制RGB LED

圖片
  This video show the blinking of RGB LED controlled by Mega2560. 本影片展示用Mega2560控制RGB LED閃爍的狀況。 Next video will express how to implement it by editing the Arduino code in the VS Code. 下一個影片將說明如何使用VS Code來編寫Arduino code來實現這樣的控制。 This video shows how to write the Arduino code of RGB LED blinking by using the VS code. 本部影片展示如何使用VS code去編輯控制RGB LED閃爍的Arduino程式碼。 Hardware: Mega2560 硬體: Mega2560 Steps: 1. Use command "Arduino: Initialize" to create .ino file. 2. Modify "c_cpp_properties.json" to add the content of include path and setup other parameters. 3. Modify "arduino.json" to add build file for fast compilaton. 3. Edit code in VS code. 4. Upload code to Mega2560 board. 5. View Blink.ino in Arduino IDE. 步驟: 1. 使用"Arduino: Initialize" 去建立 .ino檔。 2. 修正 "c_cpp_properties.json" 去新增 include path的內容和設置其他參數。 3. 修正"arduino.json" 去新增 build資料夾讓編譯速度加快。 3. 在 VS code中編輯程式碼。 4. 上傳程式碼到Mega2560板中。 5. 在Arduino IDE中察看 Blink.ino檔案。

[Arduino][VS Code][Voice] Edit Arduino code in the VS code/在VS Code中編輯Arduino程式碼

圖片
This example shows how to install Arduino extension and edit Arduino code in the VS code. 這個範例說明如何在VS Code中安裝Arduino extension以及編輯Arduino程式碼。 1. Install Arduino extension in the VS code. 在VS code中安裝Arduino extension。 2. Set Arduino installation Path. 設定 Arduino的安裝路徑。 3. Ctrl+Shift+P to input command " Arduino: Examples". 使用 Ctrl+Shift+P去輸入"Arduino: Examples"指令。 4. Open Blinky example 打開Blink的範例 5. Select COM port and board type "Mega2560". 選擇COM port, 以及Mega2560開發版。 6. Modify code and upload to Mega2560. 修改程式碼然後上傳到Mega2560上。 We will share more tutorial videos with people who want to learn LabVIEW and Python welcome to subscribe this channel. 未來會陸續更新影片,讓想學習LabVIEW和Python的朋友可以看影片學習,歡迎訂閱此頻道。 其他網址/related websites: https://labview-tech.blogspot.com/ https://fishark.pixnet.net/blog email: jacklee3633@gmail.com Line: lvnet