Skip to content

Commit

Permalink
Update Bull.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPucheu committed Mar 1, 2024
1 parent 734e248 commit 09e9ef8
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions src/Bull/Bull.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <Led.h>
#include <Keypad.h>

#define LOOP_TIME 20
#define LOOP_TIME 0
#define DEBUG false

#define SWITCH 0
Expand Down Expand Up @@ -106,15 +106,14 @@ void loop ()
//Serial.println(millis() - start);
delay(LOOP_TIME);
#if DEBUG
Serial.print(bluetooth.message.get(SWITCH)); Serial.print(" ");
Serial.print(bluetooth.message.get(KEYPAD)); Serial.print(" ");
Serial.print(bluetooth.message.get(ESTIMATION)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_X)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_Y)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_CLCK)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_X)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_Y)); Serial.print(" ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_CLCK)); Serial.print(" ");
Serial.println();
Serial.print(bluetooth.message.get(SWITCH)); Serial.print(" | ");
Serial.print(bluetooth.message.get(KEYPAD)); Serial.print(" | ");
Serial.print(bluetooth.message.get(ESTIMATION)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_X)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_Y)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_LEFT_CLCK)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_X)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_Y)); Serial.print(" | ");
Serial.print(bluetooth.message.get(JOYSTICK_RIGHT_CLCK)); Serial.println();
#endif
}

0 comments on commit 09e9ef8

Please sign in to comment.