diff options
-rw-r--r-- | main.ino | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -35,6 +35,10 @@ EasyButton button_select(BUTTON_PIN_SELECT); void setup() { Serial.begin(BAUDRATE); + while (!Serial) { + ; + } + Serial.println(); button_move.begin(); button_select.begin(); @@ -52,15 +56,15 @@ void loop() { } void onButtonMovePressed() { - Serial.print("button MOVE clicked"); + Serial.println("button MOVE clicked"); } void onButtonMoveLongpressed() { - Serial.print("button MOVE long-clicked"); + Serial.println("button MOVE long-clicked"); } void onButtonSelectPressed() { - Serial.print("button SELECT clicked"); + Serial.println("button SELECT clicked"); } /* |