ESP32でEthernetライブラリのコンパイルエラーを回避する方法【Arduino使用】
ESP32でEthernetライブラリのコンパイルエラーを回避する方法【Arduino使用】
2
Project description
こんにちは、あろっちです。 ESP32でEthernetライブラリのEthernetServerクラスを使ったスケッチでコンパイルエラーが発生する問題が確認されました。 これを回避するためのEthernetライブラリの修正方法を記述します。 目次 Ethernetモジュールについて Ethernetライブラリ Ethernetライブラリの修正 テスト 関連記事 Ethernetモジュールについて ESP32をEthernetに繋ぐには以下のようなSPI接続の汎用Ethernetモジュールを用いるのがお手軽でシンプルかと思います。 ちなみに以下の製品のEthernet ICはいずれもW5500(WIZnet製)です。 こちらの制御プログラムを書くのにEhernetライブラリを使う感じです。 左: W5500 Lite 右: W5500 Ethernetライブラリ 本記事ではEthernetライブラリはWIZnet Ethernet HATに対応した以下のWIZnet fork版を使用します。 https://github.com/WIZnet-ArduinoEthernet/Ethernet WIZnet Ethernet HAT(Raspberry Pi Pico用) Raspberry Pi Picoをセットしたところ 参考サイト: WIZnet Ethernet…
Keep reading with a free account
Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.