Skip to content

Commit

Permalink
Increase SPI timing delays slightly to make communication more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
clough42 committed Oct 6, 2020
1 parent 5e3fac0 commit 61619c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions els-f280049c/ControlPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
#include "ControlPanel.h"

// Time delay to allow CS (STB) line to reach high state and be registered
#define CS_RISE_TIME_US 5
#define CS_RISE_TIME_US 10

// Time delay after sending read command, before clocking in data
#define DELAY_BEFORE_READING_US 1
#define DELAY_BEFORE_READING_US 3


// Lower the TM1638 CS (STB) line
Expand Down

0 comments on commit 61619c8

Please sign in to comment.