diff --git a/_build/doctrees/environment.pickle b/_build/doctrees/environment.pickle index 57cb810..72788fb 100644 --- a/_build/doctrees/environment.pickle +++ b/_build/doctrees/environment.pickle Binary files differ diff --git a/_build/doctrees/intro.doctree b/_build/doctrees/intro.doctree index aae7768..8068d9f 100644 --- a/_build/doctrees/intro.doctree +++ b/_build/doctrees/intro.doctree Binary files differ diff --git a/_build/html/.doctrees/environment.pickle b/_build/html/.doctrees/environment.pickle index af0abb4..a368c3a 100644 --- a/_build/html/.doctrees/environment.pickle +++ b/_build/html/.doctrees/environment.pickle Binary files differ diff --git a/_build/html/.doctrees/week1.doctree b/_build/html/.doctrees/week1.doctree index 71436b4..8ef50d7 100644 --- a/_build/html/.doctrees/week1.doctree +++ b/_build/html/.doctrees/week1.doctree Binary files differ diff --git a/_build/html/_sources/week1.rst.txt b/_build/html/_sources/week1.rst.txt index dd7bfe2..ecd59f6 100644 --- a/_build/html/_sources/week1.rst.txt +++ b/_build/html/_sources/week1.rst.txt @@ -505,7 +505,7 @@ .. note:: 基本的に `ESP32同士をBluetoothシリアルでつないでみる `_ と同じです。その他、一般的なBluetoothとBLEについての解説は、`ESP32による近距離無線通信の実験② BLE通信 `_ が参考になります。 (1) スレーブ用デバイスのMACアドレスを調べる -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :numref:`bts01_slave` を、1台目のM5StickCPlusで実行し、BluetoothのMACアドレスを調べます。 diff --git a/_build/html/week1.html b/_build/html/week1.html index 734c639..c0c3f98 100644 --- a/_build/html/week1.html +++ b/_build/html/week1.html @@ -1576,7 +1576,7 @@ #include <WiFi.h> // #include "time.h" -#define USE_NTP 0 // NTPからRTCに時刻設定するなら1 +#define USE_NTP 1 // NTPからRTCに時刻設定するなら1 void setRTCfromLT(struct tm lt) { RTC_DateTypeDef DateStruct; @@ -2097,7 +2097,8 @@ 66 67 68 -69
// MQTT Publisher example 
+69
+70
// MQTT Publisher example 
 //#include <M5StickCPlus.h>
 #include <WiFi.h>
 // ライブラリで PubSubClient をいれておく ★★★ 重要 ★★★
@@ -2110,7 +2111,8 @@
 const int   port     = 1883;                   // 注:学内ネットワークはポート制限あり。
 const char* pubTopic = "office/temp"; //"ex1/groupXX/sensor";のようにして、他の班とかぶらないようにすること。
 const char* mquser   = "ex1";
-const char* mqpass   = "***PASSWORD***"; // 講義システム(三浦担当講義用)を参照すること。
+//const char* mqpass   = "***PASSWORD***"; // 講義システム(三浦担当講義用)を参照すること。
+const char* mqpass   = ""; // 講義システム(三浦担当講義用)を参照すること。
 WiFiClient wifiClient;
 char* clientid = "m5stickc01_00000001"; //デバイス個別に設定すればなんでもよい
 PubSubClient mqttClient(wifiClient); // MQTT Client
diff --git a/week1.rst b/week1.rst
index dd7bfe2..ecd59f6 100755
--- a/week1.rst
+++ b/week1.rst
@@ -505,7 +505,7 @@
 .. note:: 基本的に `ESP32同士をBluetoothシリアルでつないでみる `_ と同じです。その他、一般的なBluetoothとBLEについての解説は、`ESP32による近距離無線通信の実験② BLE通信 `_ が参考になります。
 
 (1) スレーブ用デバイスのMACアドレスを調べる
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 :numref:`bts01_slave` を、1台目のM5StickCPlusで実行し、BluetoothのMACアドレスを調べます。