ESP32でMicropythonが動いていますが、REPLで毎度コードをペーストするのも大変です。 ファイルをESP32にダウンロードするツールがあるのではないかと探してみたら、uPyCraftというツールを見つけました。 Introduction · uPyCraft_en Windowsでも動作しますし、エディタとコンソールが一体化していてなかなか便利そうです。 使い方も難しくはなく、設定としてはMicropythonが動作しているESP32のシリアルポートをメニューの「Tools」→「Serial」から選択すれば完了です。 このツールはもともとFireBeetle ESP32という開発ボード用に作られたもののようです。 中国の会社の製品のようですが、DevKitCとそれほど違いがあるわけではなく、問題なく使用できました。 Arduinoのように、「File」→「Examples」に
こんばんは。これは #kosen10s Advent Calendar 最終日の記事です。 昨日は @e10dokup の ノリと勢いで買ってよかったものベスト10 2017 でした。 e10dokup.hateblo.jp MicroPythonはすばらしい この記事はMicroPythonの素晴らしさをノリで世の中に伝えるものであり、勢いで書かれていることをどうか許してほしい。 筆者の紆余曲折のせいでなんだかんだArduino SDKの話が長いが、そこは飛ばしていただいても結構である。 弊社におけるチャイム文化の隆盛と没落 時は2015年・年末のオフィスにて、コアタイムの開始と終了をチャイムで知らせる文化が生まれた。もともとは開始の朝10時に簡易アラームを鳴らしていたのだが、時間が正確でない(ほうっておくと平気で30秒遅れる)ことから手で鳴らそうという話になったのが元である。 だがそれ
ある機会でMicroPythonを知りましたが ちょっと難しそうな感じですし 今ArduinoIDEとかもあるし、わざわざMicroPythonを使う理由があるのと思いましたが 何事もそれを触って知ってからでないと評論もできないと思います。 今回、ちらっと簡単にMicroPythonを試してみたいと思います。 https://micropython.org/ バイナリをダウンロード 私はMacでESP32で試しますので、 こちらのファイルをダウンロードして使いました。 https://micropython.org/download#esp32 (2019年6月25日追記:今現在、最新版はesp32-20190625-v1.11-63–gd889def06.binです。) esptool.pyをインストール その後、esptoolをインストールします。 pip install esptoo
ESP32が国内発売されるようになり半年以上が立ちにわかにmicropythonが取り上げられるようになってきました。 以下の記事や今月号のトラ技でも記事が書かれています。 makezine.jp ESP32のファームウェアは夏ごろから公式サイトで公開され自分でビルドする必要もなくなり、今では書き込みツールでファームウェアを書くだけで手軽にmicropythonをスタートできるようになりました。 改めてファームウェアの書き込みと公式ドキュメントのチュートリアルをちょこっとやってみたいと思います。 ※micropythonのファームウェアをESP32に書き込むことで技適の認証に抵触する可能性があります。あくまで自己責任でお願い致します。 ・ファームウェアの書き込み 何はともあれファームウェアを公式から落とします。 MicroPython - Python for microcontrolle
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く