We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548216c commit 12069d4Copy full SHA for 12069d4
src/GG_for_Arduino.cpp
@@ -32,6 +32,7 @@ int gg_start(const char *title) // Arduino用GGの処理開始
32
// コンソール用シリアルのボーレート設定(負数であればセットしない)
33
if (gg_con_baud>0) {
34
Serial.begin(gg_con_baud); // ArduinoのSerialをセットアップ
35
+ while(!Serial) ; // Serialの準備ができるまで待つ(USBシリアル対応) 2023.11.26 M.Kogan
36
gg_std_putc = std_putc; // ArduinoのSerialへの出力ルーチン
37
gg_std_getc = std_getc; // ArduinoのSerialからの入力ルーチン
38
}
0 commit comments