回答編集履歴

1

情報追記

2021/09/27 22:53

投稿

thkana
thkana

スコア7610

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