Test BME and TLC59711 BLE Nano 1.5

Fork of BME280_SPI by Toyomasa Watarai

Files at this revision

API Documentation at this revision

Comitter:
elitesnipezz360
Date:
Fri Apr 13 13:39:13 2018 +0000
Parent:
8:f0faf51d3d4a
Commit message:
initial

Changed in this revision

BME280_SPI.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r f0faf51d3d4a -r 01d4e22a7012 BME280_SPI.cpp
--- a/BME280_SPI.cpp	Mon Mar 13 15:37:22 2017 +0000
+++ b/BME280_SPI.cpp	Fri Apr 13 13:39:13 2018 +0000
@@ -44,7 +44,7 @@
 
     _cs = 1;
     _spi.format(8, 0); // 8-bit, mode=0
-    _spi.frequency(1000000); // 1MHZ
+    _spi.frequency(500000); // 1MHZ
 
     _cs = 0;
     _spi.write(0xd0); // chip_id