0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PlatformIO + Teensy3.2 +VScode で書き込めない時

Last updated at Posted at 2020-08-13

SS 192.png Arduinoには普通に書き込めたのになぁ

やること

目下、純正のArduino IDEもPlatformIO + Atom も手元の環境では調子がわるいので
PlatformIO + Teensy3.2 + VScodeに変えてみました。
が、Teensy3.2への書き込みがうまくいかずちょっと困りました。
そもそもビルドできていない感じ。これを解決します。

結論

main.cppのスケッチの冒頭に


# include <Arduino.h>

の一行を追加したら書き込めるようになりました。

補足

その他の基本的な使い方は他の記事を参考にしてください。
ちなみにPlatformio.iniの内容ついては、デフォルトの

[env:teensy31]
platform = teensy
board = teensy31
framework = arduino

のままで大丈夫でした。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?