LoginSignup
0
0

More than 5 years have passed since last update.

Low Memory Available

Posted at

Arduinoで遊んでいたら以下のようなメッセージが

Low memory available, stability problems may occur.

ちょっと前のコンソールを見てみると

スケッチが プログラムストレージ領域の --バイト (--%) を使用しています。最大は --バイト です。
グローバル変数が --バイト (82%) の 動的メモリを使用しており、ローカル変数に -- バイトが残っています。最高は 2,048バイトです。

なんかものすごいグローバル変数を使っていたみたいです。

グローバル変数の一部をconstにしたらメッセージがなくなりました。

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