@ -16,8 +16,24 @@
See the LICENSE file for details .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
Adapted by Starbeamrainbowlabs < https : //starbeamrainbowlabs.com/>
GitHub : @ sbrl | Twitter : @ SBRLabs | Reddit : u / Starbeamrainbowlabs
# PROTOCOL SPEC
# # INPUT
4 character commands . Whitespace and non - printable characters are ignored .
# ## COMMANDS
Command | Meaning
- - - - - - - - | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
read | Read the sensor values and write the result to stdout
*/
# include <Wire.h>
# include <SPI.h>
// These libraries need installing in the Arduino IDE Library Manager (if you install the BME280 one it should prompt for the unified sensor library automatically)
# include <Adafruit_Sensor.h>
# include <Adafruit_BME280.h>