diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.vscode/arduino.json b/.vscode/arduino.json old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/_static/custom.css b/_static/custom.css new file mode 100755 index 0000000..acd885c --- /dev/null +++ b/_static/custom.css @@ -0,0 +1,23 @@ +/* ナビゲーションバーの背景色を変更 */ +.wy-nav-top { + background-color: #6600ff !important; /* オレンジ */ +} + +/* サイドバーの背景色を変更 */ +.wy-side-nav-search { + background-color: #6688aa !important; /* 濃い青 */ +} + +/* リンクの色を変更 */ +.wy-menu-vertical a { + color: #006699 !important; /* 緑系 */ +} +.wy-menu-vertical a:hover { + background-color: #aaccff; +} + +.wy-nav-side { + background: #ccddee; +} + + diff --git a/cheatsheet.txt b/cheatsheet.txt old mode 100644 new mode 100755 diff --git a/images/._biohazard.png b/images/._biohazard.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/._lcd_sample.png b/images/._lcd_sample.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/._pwm.jpg b/images/._pwm.jpg old mode 100644 new mode 100755 Binary files differ diff --git a/images/._servohat.png b/images/._servohat.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/._setRotation.gif b/images/._setRotation.gif old mode 100644 new mode 100755 Binary files differ diff --git a/images/SimpleLED_m5s.png b/images/SimpleLED_m5s.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/biohazard.png b/images/biohazard.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/board_manager_esp32.png b/images/board_manager_esp32.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/board_manager_esp32_installed.png b/images/board_manager_esp32_installed.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/build_factorytest.png b/images/build_factorytest.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/build_factorytest_finished.png b/images/build_factorytest_finished.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/ipconfig.png b/images/ipconfig.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/ir_sensor.png b/images/ir_sensor.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/ir_sensor_47owm.png b/images/ir_sensor_47owm.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/isprime.c b/images/isprime.c old mode 100644 new mode 100755 diff --git a/images/lcd_sample.png b/images/lcd_sample.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/library_manager_m5stickcplus.png b/images/library_manager_m5stickcplus.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/menu_file_sketchexample_m5stick_factory.png b/images/menu_file_sketchexample_m5stick_factory.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/menu_tool_board_esp32_m5stickc.png b/images/menu_tool_board_esp32_m5stickc.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/pwm.jpg b/images/pwm.jpg old mode 100644 new mode 100755 Binary files differ diff --git a/images/select_serialport.png b/images/select_serialport.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/servohat.png b/images/servohat.png old mode 100644 new mode 100755 Binary files differ diff --git a/images/setRotation.gif b/images/setRotation.gif old mode 100644 new mode 100755 Binary files differ diff --git a/img/22_0323_143952.png b/img/22_0323_143952.png old mode 100644 new mode 100755 Binary files differ diff --git a/img/22_0323_144455.png b/img/22_0323_144455.png old mode 100644 new mode 100755 Binary files differ diff --git a/img/22_0323_151537.png b/img/22_0323_151537.png old mode 100644 new mode 100755 Binary files differ diff --git a/img/22_0323_154834.png b/img/22_0323_154834.png old mode 100644 new mode 100755 Binary files differ diff --git a/make.bat b/make.bat old mode 100644 new mode 100755 diff --git a/pre2025.rst b/pre2025.rst new file mode 100644 index 0000000..aa79727 --- /dev/null +++ b/pre2025.rst @@ -0,0 +1,58 @@ +.. _00_pre2023: + +事前準備 (2025年度) +============================================================================== + +`M5StickC Plus2 `_ に、プログラムを書き込むには、 +おもに以下の方法があります。 + +1. Arduino IDE +#. arduino-cli (Command-Line Interface) +#. PlatformIO + +2022年度は2. の方法を用いましたが、シリアルモニタが使いづらい問題がありました。 +そこで今年は独自プログラムIoTP を併用して、ファイルの編集、ビルドと書き込みを行います。 +(別途、Visual Studio Code 等のエディタを使用してもかまいません。) + +.. note:: 以下の手順は、なるべく簡便に環境構築を行えるよう、事前に教員が準備したスクリプトを実行するものです。内容は2022年度とほぼ同等です。違いは独自プログラムIoTPを動作させるため、Jarファイルをダウンロードしたり、必要に応じてJava Runtime (JRE) をインストールしたりする部分になります。 + + +Windows の場合 +~~~~~~~~~~~~~~~~~ + +1. `Git for Windows `_ をインストールしてください。Setup時にいろいろ訊かれますが、すべてそのまま「Next」を押して進めて大丈夫です。 +#. Git Bash を起動して、ターミナル(例: :numref:`fig_cli_iotinst` )に以下のコマンドを入力してください。(この下の灰色のテキストエリアの右端の四角アイコンを押すと、コマンドをコピーできます。) :: + + curl -fsSL istlab.info/iotinst | sh + + +.. _fig_cli_iotinst: + +.. figure:: img/22_0323_144455.png + :scale: 90% + :alt: インストールスクリプト実行後の画面(例) + :name: f_cli_iotinst + + インストールスクリプト実行後の画面(例) + + + +Mac の場合 +~~~~~~~~~~~~~~~~~~ + +1. `Homebrew パッケージマネージャ `_ をまだ入れていない場合は、インストールしてください。ターミナルを開き、以下のコマンドを実行します。 :: + + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + +#. 続けて、ターミナルで、以下のコマンドを実行してください。 ::  + + brew update + brew install git arduino-cli + + curl -fsSL istlab.info/iotinst | sh + + + + + diff --git a/src/TestBuild/arduino-cli.yaml b/src/TestBuild/arduino-cli.yaml old mode 100644 new mode 100755 diff --git a/src/TestBuild/build/esp32.esp32.m5stick-c/TestBuild.ino.partitions.bin b/src/TestBuild/build/esp32.esp32.m5stick-c/TestBuild.ino.partitions.bin old mode 100644 new mode 100755 Binary files differ diff --git a/src/TestBuild/coin05_16k.ino b/src/TestBuild/coin05_16k.ino old mode 100644 new mode 100755 diff --git a/src/TestBuild/coin05_8k.ino b/src/TestBuild/coin05_8k.ino old mode 100644 new mode 100755 diff --git a/src/accgyro.ino b/src/accgyro.ino old mode 100644 new mode 100755 diff --git a/src/analogread.ino b/src/analogread.ino old mode 100644 new mode 100755 diff --git a/src/bts01_master.ino b/src/bts01_master.ino old mode 100644 new mode 100755 diff --git a/src/bts01_showmac.ino b/src/bts01_showmac.ino old mode 100644 new mode 100755 diff --git a/src/bts01_slave.ino b/src/bts01_slave.ino old mode 100644 new mode 100755 diff --git a/src/button01.ino b/src/button01.ino old mode 100644 new mode 100755 diff --git a/src/cds01.ino b/src/cds01.ino old mode 100644 new mode 100755 diff --git a/src/coin05_16k.ino.txt b/src/coin05_16k.ino.txt old mode 100644 new mode 100755 diff --git a/src/coin05_8k.ino.txt b/src/coin05_8k.ino.txt old mode 100644 new mode 100755 diff --git a/src/doget.js b/src/doget.js old mode 100644 new mode 100755 diff --git a/src/env2.ino b/src/env2.ino old mode 100644 new mode 100755 diff --git a/src/espnow01.ino b/src/espnow01.ino old mode 100644 new mode 100755 diff --git a/src/espnow02.ino b/src/espnow02.ino old mode 100644 new mode 100755 diff --git a/src/factorytest.ino b/src/factorytest.ino old mode 100644 new mode 100755 diff --git a/src/httpclient01.ino b/src/httpclient01.ino old mode 100644 new mode 100755 diff --git a/src/httpserver01.ino b/src/httpserver01.ino old mode 100644 new mode 100755 diff --git a/src/irsend01.ino b/src/irsend01.ino old mode 100644 new mode 100755 diff --git a/src/irsend02.ino b/src/irsend02.ino old mode 100644 new mode 100755 diff --git a/src/lcd01.ino b/src/lcd01.ino old mode 100644 new mode 100755 diff --git a/src/led01.ino b/src/led01.ino old mode 100644 new mode 100755 diff --git a/src/line01.ino b/src/line01.ino old mode 100644 new mode 100755 diff --git a/src/mqtt01pub.ino b/src/mqtt01pub.ino old mode 100644 new mode 100755 diff --git a/src/mqtt01sub.ino b/src/mqtt01sub.ino old mode 100644 new mode 100755 diff --git a/src/ntp01.ino b/src/ntp01.ino old mode 100644 new mode 100755 diff --git a/src/ota01.ino b/src/ota01.ino old mode 100644 new mode 100755 diff --git a/src/pref01.ino b/src/pref01.ino old mode 100644 new mode 100755 diff --git a/src/pwm01.ino b/src/pwm01.ino old mode 100644 new mode 100755 diff --git a/src/regexp01.ino b/src/regexp01.ino old mode 100644 new mode 100755 diff --git a/src/rtc01.ino b/src/rtc01.ino old mode 100644 new mode 100755 diff --git a/src/serial01.ino b/src/serial01.ino old mode 100644 new mode 100755 diff --git a/src/serial02.ino b/src/serial02.ino old mode 100644 new mode 100755 diff --git a/src/servohat01.ino b/src/servohat01.ino old mode 100644 new mode 100755 diff --git a/src/setrotation.html b/src/setrotation.html old mode 100644 new mode 100755 diff --git a/src/sketch_feb25a.ino b/src/sketch_feb25a.ino old mode 100644 new mode 100755 diff --git a/src/sound01.ino b/src/sound01.ino old mode 100644 new mode 100755 diff --git a/src/speakerhat01.ino b/src/speakerhat01.ino old mode 100644 new mode 100755 diff --git a/src/sprite01.ino b/src/sprite01.ino old mode 100644 new mode 100755 diff --git a/src/str01.ino b/src/str01.ino old mode 100644 new mode 100755 diff --git a/src/task01.ino b/src/task01.ino old mode 100644 new mode 100755 diff --git a/src/task02.ino b/src/task02.ino old mode 100644 new mode 100755 diff --git a/src/telnet01.ino b/src/telnet01.ino old mode 100644 new mode 100755 diff --git a/src/wifi01.ino b/src/wifi01.ino old mode 100644 new mode 100755 diff --git a/src/wifimac.ino b/src/wifimac.ino old mode 100644 new mode 100755