這份作業是關於利用tcp socket和board support package,來實做一個在stm32開發版上偵測數據,並回傳給電腦server去把資料視覺化。
-
在Mbed Studio選擇File -> New program, 開一個新的mbed-os-example-sockets
-
git clone https://github.com/chiyuanhsiao/embedded_system_lab2.git
-
將mbed-os-example-sockets/source/main.cpp換成embedded_system_lab2/source/main.cpp
-
將BSP_B-L475E-IOT01放到mbed-os-example-sockets底下
-
執行server/server.py以接收資料
-
Build and run mbed-os-example-sockets
The software is provided under Apache-2.0 license.