From 0b1399218dde50067424bf03787dfcb6af5db374 Mon Sep 17 00:00:00 2001 From: Fuminori OKUHARA Date: Tue, 3 Jul 2018 10:30:24 +0900 Subject: [PATCH 1/2] FIX: Change default SPI clock. --- src/SakuraIO_SPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SakuraIO_SPI.cpp b/src/SakuraIO_SPI.cpp index f0205f3..27cada6 100644 --- a/src/SakuraIO_SPI.cpp +++ b/src/SakuraIO_SPI.cpp @@ -48,7 +48,7 @@ SakuraIO_SPI::SakuraIO_SPI(int _cs){ cs = _cs; SPI.begin(); #if SPI_HAS_TRANSACTION - settings = SPISettings(4000000, MSBFIRST, SPI_MODE0); // 4MHz, MSB First, SPI mode 0 + settings = SPISettings(350000, MSBFIRST, SPI_MODE0); // 350kHz, MSB First, SPI mode 0 #endif pinMode(cs, OUTPUT); digitalWrite(cs, HIGH); From 0ee7d0f6e8d46bf4d56e9b4db1a11203753122c4 Mon Sep 17 00:00:00 2001 From: Fuminori OKUHARA Date: Tue, 3 Jul 2018 10:32:14 +0900 Subject: [PATCH 2/2] Update version number. --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 2c38598..e5440a5 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SakuraIO -version=1.1.3 +version=1.1.4 author=SAKURA Internet Inc. maintainer=chibiegg sentence=Library for Sakura Communication Module (https://sakura.io/)