LoginSignup
2
2

More than 5 years have passed since last update.

ESP-WROOM-02 の Arduino 環境で I2C 制御 お試し編

Last updated at Posted at 2015-11-12

ESP-WROOM-02 の Arduino 環境で I2C 制御を試してみた。

ツール

貼り付けた画像_2015_11_12_21_47.png

書き込み成功時

sketch_nov12a___Arduino_1_6_5.png

Trouble Shoot

トラブル1

マイコンボードに書き込むとき、以下のエラーがでた。

error: no matching function for call to 'TwoWire::begin(int, int)'

原因

BoardManaegerにESP8266がインストールされていなかった。

解決

Boards ManagerにESP8266をインストールする

インストール方法:
参考資料:https://www.mgo-tec.com/blog-entry-50.html

パッケージ:
https://github.com/esp8266/Arduino

Boards_Manager_と_sketch_nov12a___Arduino_1_6_5_と_sketch_nov12a.png

トラブル2

マイコンボードに書き込むとき、以下のエラーがでた。

warning: espcomm_sync failed
error: espcomm_open failed

ヒント

解決

ESP8266を書き込みモードにする
注意点として、一回書き込むとプロテクトされるので、都度リセットする必要がある

ファームウェアの書き込み方

資料

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2