From 61619c835ef2fa01052fdd7160a4ad95b8fa04f3 Mon Sep 17 00:00:00 2001 From: Clough42 Date: Tue, 6 Oct 2020 14:23:23 -0700 Subject: [PATCH] Increase SPI timing delays slightly to make communication more robust. --- els-f280049c/ControlPanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/els-f280049c/ControlPanel.cpp b/els-f280049c/ControlPanel.cpp index ea7fb68..72ebc9b 100644 --- a/els-f280049c/ControlPanel.cpp +++ b/els-f280049c/ControlPanel.cpp @@ -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