From 43bb6d2c1278e4c1471d904ca3767512b1f08faf Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sun, 6 Jan 2019 07:28:14 +0900 Subject: [PATCH] Fixed language code --- mkdocs/apiconfig.md | 2 +- mkdocs/apiextra.md | 2 +- mkdocs/basicusage.md | 4 ++-- mkdocs/examples.md | 2 +- mkdocs/faq.md | 2 +- mkdocs/gettingstarted.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mkdocs/apiconfig.md b/mkdocs/apiconfig.md index 3c96eab..02de4fa 100644 --- a/mkdocs/apiconfig.md +++ b/mkdocs/apiconfig.md @@ -252,7 +252,7 @@ Set the subnetmask when using static IP address. ## AutoConnectConfig example -```arduino +```cpp AutoConenct Portal; AutoConenctConfig Config("", "passpass"); // SoftAp name is determined at runtime Config.apid = ESP.hostname(); // Retrieve host name to SotAp identification diff --git a/mkdocs/apiextra.md b/mkdocs/apiextra.md index 588f110..a0cda6f 100644 --- a/mkdocs/apiextra.md +++ b/mkdocs/apiextra.md @@ -16,7 +16,7 @@ To reference the icon, use the **AUTOCONNECT_LINK** macro in the sketch. It expa !!! note "Usage" - ```arduino + ```cpp String html = ""; html += AUTOCONNECT_LINK(BAR_32); html += ""; diff --git a/mkdocs/basicusage.md b/mkdocs/basicusage.md index 74eb458..69c4eb1 100644 --- a/mkdocs/basicusage.md +++ b/mkdocs/basicusage.md @@ -47,13 +47,13 @@ Replacement the **handleClient** method is not indispensable. AutoConnect can st [Two options](#esp8266webserver-hosted-or-parasitic) are available for [AutoConnect constructor](api.md#constructors). -```arduino +```cpp AutoConnect VARIABLE(&ESP8266WebServer); // For ESP8266 AutoConnect VARIABLE(&WebServer); // For ESP32 ``` or -```arduino +```cpp AutoConnect VARIABLE; ``` diff --git a/mkdocs/examples.md b/mkdocs/examples.md index 469f3ee..dfc433c 100644 --- a/mkdocs/examples.md +++ b/mkdocs/examples.md @@ -82,7 +82,7 @@ The last key you need is the **User API Key** and can be confirmed it in the use The complete code of the sketch is [mqttRSSI.ino](https://github.com/Hieromon/AutoConnect/blob/master/examples/mqttRSSI/mqttRSSI.ino) in the [AutoConnect repository](https://github.com/Hieromon/AutoConnect). Replace the following #define in a sketch with **User API Key**, **Write API Key** and **Channel ID**. After Keys updated, compile the sketch and upload it. -```arduino +```cpp #define MQTT_USER_KEY "****************" // Replace to User API Key. #define CHANNEL_ID "******" // Replace to Channel ID. #define CHANNEL_API_KEY_WR "****************" // Replace to the write API Key. diff --git a/mkdocs/faq.md b/mkdocs/faq.md index 0c46f5a..8c9fe15 100644 --- a/mkdocs/faq.md +++ b/mkdocs/faq.md @@ -15,7 +15,7 @@ Maybe it is successfully connected at the **first WiFi.begin**. ESP8266 remember The saved SSID would be cleared by *WiFi.disconnect()* with WIFI_STA mode. If you do not want automatic reconnection, you can erase the memorized SSID with the following simple sketch. -```arduino +```cpp #include void setup() { diff --git a/mkdocs/gettingstarted.md b/mkdocs/gettingstarted.md index 831fe93..6d2951c 100644 --- a/mkdocs/gettingstarted.md +++ b/mkdocs/gettingstarted.md @@ -2,7 +2,7 @@ Open the Arduino IDE, write the following sketch and upload it. The feature of this sketch is that the SSID and Password are not coded. -```arduino +```cpp #include // Replace with WiFi.h for ESP32 #include // Replace with WebServer.h for ESP32 #include