發表文章

[第13期]Use VS Code and PlatformIO to debug Arduino code in the ESP Wrover Kit with internal JTAG

圖片
  This Video shows how to use VS Code and PlatformIO to debug Arduino code in the ESP Wrover Kit with internal JTAG. 1. Introduce PlatformIO 2. Introduce how to setup JTAG on ESP Wrover Kit and install JTAG Driver 3. Install PlatformIO extension 4. Setup PlatformIO 5. Create new project and Debug Arduino Code 本影片說明如何使用VS Code and PlatformIO來偵錯Arduino程式在有內建JTAG的ESP Wrover Ki開發版上。 1. PlatformIO簡介 2. 介紹如何設定與安裝JTAG驅動程式 3. 安裝PlatformIO擴充 4. 設定PlatformIO 5. 建立與偵錯Arduino程式

[第12期]Migrate LabVIEW to Python: Use Expression Node and Math library/使用Expression Node和Math函式庫

圖片
This video shows how to use mathematical functions in LabVIEW and Python. We introduce Expression Node for non-conplex data type calculation in LabVIEW and applications of Math library in Python. Some examples (conversion of degree and radian, the plot of sine wave etc.) are provided for the demonstration of Expression Node and Math library in LabVIEW and Python respectively. 本視頻說明如何在LabVIEW和Python中使用數學函數。 我們介紹LabVIEW的Expression Node來處理簡單的資料型態,以及Math函數庫在Python中的應用。 我們也提供的一些範例,如角度與弧度間的轉換、Sine波的繪製,來說明Expression Node和Math函數庫分別在與Python中應用。 References: 1. Expression Node ( https://zone.ni.com/reference/en-XX/help/371361R-01/glang/expression_node/ ) 2. math数学函数 ( https://docs.python.org/zh-tw/3.7/library/math.html#angular-conversion )

[Note 3] Add Random Number to Python array/在Python陣列中加入隨機數

圖片
This video describe how to add random number to Python array. Two libraries, Numpy and Random, are used to implement this purpose. 本視頻說明如何在Python的陣列中加入隨機數。 需要利用兩個函式庫,Numpy和Random來實現這個目的。

[Note 2] Software Debugger Library for Arduino IDE 在Arduino開發環境中的軟體偵錯程式庫

圖片
This video shows the test procedure of the software debugger used in the Arduino IDE. 本視頻展示一個軟體偵錯器在Arduino開發環境中的測試過程。 This debugger provides set/clean break point and display data in the serial monitor.  這個偵錯器可以提供設定/清除中斷點,以及將資料顯示在序列埠視窗中。 Links below will help you understand this debugger in more detail. 以下連結可以幫助您更好瞭藉這個偵錯器: 1. https://www.arduino.cc/reference/en/libraries/debugger/ 2. https://github.com/jspayneco/Debugger

[Note 1] Generate BIN and HEX file in STM32CubeIDE/在STM32CubeIDE產生 BIN及HEX燒錄檔

圖片
This video shows how to generate BIN and HEX file in STM32CubeIDE 這個視頻說明如何在STM32CubeIDE產生 BIN及HEX燒錄檔  

[第11期]Migrate LabVIEW to Python: read file to XY graph/使用Python改寫LabVIEW程式: 讀檔輸出XY圖

圖片
This video shows how to migrate LabVIEW to Python. Examples of reading file to XY graph are demonstrated by using LabVIEW and Python. Content: 1. Read file and plot XY graph with LabVIEW 2. Read file and plot XY graph with Python 本視頻說明如何使用Python改寫LabVIEW程式,分別使用LabVIEW與Pyhon寫出讀檔輸出XY圖的範例來說明。 內容: 1. LabVIEW讀檔並繪製XY圖 2. Python讀檔並繪製XY圖

[第9期]How to edit C++/C code in Colab如何在Colab中編寫C++/C的程式碼

圖片
這個影片說明如何在Colab中編寫C++/C的程式語言 內容 1. 魔術指令 2. 在Colab編輯C++/C程式 This video shows how to edit C++/C code in Colab. Content 1. Magics command 2. Edit C++/C code in Colab