From 438b28f1b57962115ab03465741db86e872c6ec1 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 13 Mar 2020 01:42:43 +0000 Subject: [PATCH] Document protocol spec in comment --- bme280/bme280.ino | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bme280/bme280.ino b/bme280/bme280.ino index 56d3d0e..fae6dbc 100644 --- a/bme280/bme280.ino +++ b/bme280/bme280.ino @@ -16,8 +16,24 @@ See the LICENSE file for details. ***************************************************************************/ +/* +Adapted by Starbeamrainbowlabs +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 #include +// 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 #include