Skip to content

Commit 8615fc0

Browse files
authored
fix: add delay to fix broken data bug
1 parent ce568a6 commit 8615fc0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arduino.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ void setup() {
3535
pinMode(data_ready_signal_pin, OUTPUT);
3636
lcd.begin(16, 2);
3737
//sendCommand(query_report_mode_command, sizeof(query_report_mode_command));
38-
//delay(100);
38+
//delay(1000);
3939
//sendCommand(work_mode_command, sizeof(work_mode_command));
40-
//delay(100);
40+
//delay(1000);
4141
//sendCommand(active_report_mode_command, sizeof(active_report_mode_command));
42+
//delay(1000);
4243
}
4344

4445
void sendCommand(uint8_t* cmd, size_t len) {

0 commit comments

Comments
 (0)