- Feb 25 Thu 2021 10:42
ESP32 NOW (利用esp32 now連接2個esp32傳送資料)
- Feb 25 Thu 2021 10:02
ESP32 藍芽(2) 2個ESP32 使用藍芽傳送資料
- Feb 04 Thu 2021 16:38
C字串
//參考網址 https://www.itread01.com/content/1546113615.html
//https://zhidao.baidu.com/question/104592558.html?qbl=relate_question_4&word=.str%28%29%20%CA%B2%C3%B4%D2%E2%CB%BC
//標準庫的string類提供了三個成員函式來從一個string得到c型別的字元陣列
//主要介紹c_str
//c_str():生成一個const char*指標,指向以空字元終止的陣列。
//這個陣列應該是string類內部的陣列
#include <iostream>
//需要包含cstring的字串
#include <cstring>
using namespace std;
int main()
{
//更好的方法是將string陣列中的內容複製出來 所以會用到strcpy()這個函式
char *c = new char[20];
string s = "1234";
// c_str()返回一個客戶程式可讀不可改的指向字元陣列的指標,不需要手動釋放或刪除這個指標。
strcpy(c,s.c_str());
cout<<c<<endl;
s = "abcd";
cout<<c<<endl;
}
- Feb 04 Thu 2021 09:29
ESP 32 WebServer
ESP32 wifi WebServer設定
參考原文網址:https://kknews.cc/code/jleplne.html
- Feb 01 Mon 2021 23:00
ESP32 Wifi基本設定
- Feb 01 Mon 2021 12:11
Unreal VaRest Wifi WebServer應用
- Feb 01 Mon 2021 12:10
ESP32 WIFI(02)_webserver
https://www.youtube.com/watch?v=yzPKg93T7q4
- Feb 01 Mon 2021 10:56
ESP32 WIFI 01_固定IP
- Jan 31 Sun 2021 14:53
ESP32 加上雷射測距用藍芽傳給UE4製作的手遊
- Jan 31 Sun 2021 11:11
TOF_VL53L0X-V2(GY530) 雷射測距感應器