teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

情報追記

2021/09/27 22:53

投稿

thkana
thkana

スコア7735

answer CHANGED
@@ -4,4 +4,13 @@
4
4
  Serial.print(',');
5
5
  Serial.println(Signal);
6
6
  ```
7
- とでもしてみてください。
7
+ とでもしてみてください。
8
+
9
+ ---
10
+ 追記
11
+ [avr-libcのサイト](https://cega.jp/avr-libc-jp/group__avr__stdio.html)に、
12
+ __For floating-point conversions, if you link default or minimized version of vfprintf(), the symbol ? will be output and double argument will be skiped. __
13
+ という記述があります。また、
14
+ __If the full functionality including the floating point conversions is required, the following options should be used:
15
+ -Wl,-u,vfprintf -lprintf_flt -lm __
16
+ ともあります。私は試していませんが、このコンパイル(リンク)オプションを付け加えてみてはいかがでしょうか(Arduino IDE環境でオプションをつけるのがまた面倒だったはずですが)。