From e935c0fee6ebe1e519548ce2a0fef1545820f28c Mon Sep 17 00:00:00 2001 From: Luiz Henrique Cassettari Date: Thu, 12 Aug 2021 15:45:59 -0300 Subject: [PATCH] Update DuinoCoin_Wire.ino --- DuinoCoin_Esp_Async_Master/DuinoCoin_Wire.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DuinoCoin_Esp_Async_Master/DuinoCoin_Wire.ino b/DuinoCoin_Esp_Async_Master/DuinoCoin_Wire.ino index c04447a..7a74aa7 100644 --- a/DuinoCoin_Esp_Async_Master/DuinoCoin_Wire.ino +++ b/DuinoCoin_Esp_Async_Master/DuinoCoin_Wire.ino @@ -16,11 +16,14 @@ #define SCL 22 #endif +#define WIRE_CLOCK 100000 + void wire_setup() { //pinMode(SDA, INPUT_PULLUP); //pinMode(SCL, INPUT_PULLUP); Wire.begin(SDA, SCL); + Wire.setClock(WIRE_CLOCK); wire_readAll(); }