Skip to content

Commit

Permalink
Issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
SV-Zanshin authored and SV-Zanshin committed Jan 26, 2019
1 parent 4922d42 commit 15d45be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/SoftSPIDemo/SoftSPIDemo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ void loop()
static int32_t temperature, humidity, pressure, gas; // Store readings
BME680.getSensorData(temperature,humidity,pressure,gas); // Get most recent readings
Serial.print(temperature/100.0,2); // Temperature in deci-degrees
#ifdef ESP32 || ARDUINO_SAMD_ZERO
Serial.print(F(" ")); // Esp32 compiler doesn't liked escaped string
#if defined(ESP32) || defined(ARDUINO_SAMD_ZERO)
Serial.print(F(" ")); // Compiler doesn't liked escaped string
#else
Serial.print(F("\xC2\xB0\C ")); // Representation of the ° symbol
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/Zanshin_BME680.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Version | Date | Developer | Comments
digitalWrite(_sck, HIGH); // reset the clock signal
} // of for-next each bit
digitalWrite(_cs, HIGH); // Tell BME680 to stop listening
uint8_t* dummy = *bytePtr++; // go to next byte to write
uint8_t dummy = *bytePtr++; // go to next byte to write
} // of for-next each byte to be read
} // of if-then-else we are using hardware SPI
} // of if-then-else we are using I2C
Expand Down

0 comments on commit 15d45be

Please sign in to comment.