文書の表示以前のリビジョンバックリンク文書の先頭へ この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。 ====== Hello World ====== M5Stick-Cを利用したHello Worldまでの流れを解説します。M5StickCの開発環境は主に - Arduino-IDE - UIFlow の2つがあります。UIFlowがM5Stackの開発元が独自に提供する開発環境で、blockyというブロック型プログラミング言語(内部はmicropython)を利用することができます。プログラミング初学者はこちらのほうがとっつきやすいと思います。なおMacでCatalinaを利用する場合は初期の設定でトラブルがあったので、https://qiita.com/decobisu/items/5d748122bfd345bff5c3 を参照しておくと良いでしょう。 この教材ページでは Arduino-IDEを用いて進めていきますが、UIFlowも結構よいのでそのうちUIFlow用に教材を作ってもいいなと思っています。 ===== 開封から充電まで ===== まずは、開封した後、充電までを行います。 <html> <div style="position: relative; padding-bottom: 56.25%; height: 0;"><iframe src="https://www.loom.com/embed/94d5421ea76349acb3e2a15fe1fa2b48" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div> </html> ===== 初期Exampleの動作を確認 ===== <html> <div style="position: relative; padding-bottom: 56.25%; height: 0;"><iframe src="https://www.loom.com/embed/c4b006156fce45708a49bbeb782e0b42" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div> </html> ===== プログラムの書き込み ===== 実際にHello Worldのプログラムを書き込むところまで <html> <div style="position: relative; padding-bottom: 56.25%; height: 0;"><iframe src="https://www.loom.com/embed/1d4c1e159f1645dfb97a064d455ab260" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div> </html> ---- {{indexmenu>:arduino:m5stickc#1|js#indextheme navbar}} /home/users/2/lolipop.jp-4404d470cd64c603/web/ws/data/pages/arduino/m5stickc/00.helloworld.txt 最終更新: 2020/09/07 09:27by baba