Browse Source

Document protocol spec in comment

master
Starbeamrainbowlabs 11 months ago
parent
commit
438b28f1b5
Signed by: sbrl GPG Key ID: 1BE5172E637709C2
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      bme280/bme280.ino

+ 16
- 0
bme280/bme280.ino View File

@ -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>


Loading…
Cancel
Save