使用 Wi-Fi 函式庫
要使用 LinkIt 7697 的 Wi-Fi 功能,可透過 BSP 內的 LWiFi 函式庫達成。LWiFi 函式庫的介面與 Arduino Wi-Fi 函式庫非常相似,因此大多數的 Arduino Wi-Fi 範例都可在不需修改的狀況下直接使用。
Last updated
要使用 LinkIt 7697 的 Wi-Fi 功能,可透過 BSP 內的 LWiFi 函式庫達成。LWiFi 函式庫的介面與 Arduino Wi-Fi 函式庫非常相似,因此大多數的 Arduino Wi-Fi 範例都可在不需修改的狀況下直接使用。
Last updated
char ssid[] = "yourNetwork"; // your network SSID (name)
char pass[] = "secretPassword"; // your network password (use for WPA, or use as key for WEP)// Make a HTTP request:
client.println("GET /linkit_7697_ascii.txt HTTP/1.0");
client.println("Host: download.labs.mediatek.com");
client.println("Accept: */*");
client.println("Connection: close");
client.println(); _ _ _ _____ _ ______ __ ___ ______
| | (_) | | |_ _| | |____ / // _ \____ |
| | _ _ __ | | __ | | | |_ / / /| (_) | / /
| | | | '_ \| |/ / | | | __| / / '_ \__, | / /
| |____| | | | | < _| |_| |_ / /| (_) |/ / / /
|______|_|_| |_|_|\_\_____|\__| /_/ \___//_/ /_/