Skip to content

Commit

Permalink
Migrated to libs v2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaack committed Jan 30, 2017
1 parent 219ea69 commit b29bbe7
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ or concerns with licensing, please contact [email protected].
Distributed as-is; no warranty is given.
******************************************************************************/

#include "SparkFunBME280/SparkFunBME280.h"
#include "SparkFunBME280.h"

//Global sensor object
BME280 mySensor;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ or concerns with licensing, please contact [email protected].
Distributed as-is; no warranty is given.
******************************************************************************/

#include "SparkFunBME280/SparkFunBME280.h"
#include "SparkFunBME280.h"
#include "CircularBuffer.h"

//Global sensor object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ or concerns with licensing, please contact [email protected].
Distributed as-is; no warranty is given.
******************************************************************************/

#include "SparkFunBME280/SparkFunBME280.h"
#include "SparkFunBME280.h"

//Global sensor object
BME280 mySensor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ or concerns with licensing, please contact [email protected].
Distributed as-is; no warranty is given.
******************************************************************************/

#include "SparkFunBME280/SparkFunBME280.h"
#include "SparkFunBME280.h"

//Global sensor object
BME280 mySensorA;
Expand Down
11 changes: 5 additions & 6 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name=SparkFun BME280
name=SparkFunBME280
version=1.1.0
author=Marshall Taylor
maintainer=SparkFun Electronics <sparkfun.com>
author=Marshall Taylor <sparkfun.com>
maintainer= Markus Haack (https://github.com/mhaack)
license=MIT
sentence=A library to drive the Bosch BME280 Altimeter and Pressure sensor
paragraph=See code for comments.
category=Sensors
url=https://github.com/sparkfun/SparkFun_BME280_Arduino_Library
architectures=*
url=https://github.com/mhaack/SparkFun_BME280
7 changes: 0 additions & 7 deletions spark.json

This file was deleted.

20 changes: 6 additions & 14 deletions firmware/SparkFunBME280.cpp → src/SparkFunBME280.cpp
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
/******************************************************************************
SparkFunBME280.cpp
BME280 Arduino and Teensy Driver
Marshall Taylor @ SparkFun Electronics
May 20, 2015
https://github.com/sparkfun/BME280_Breakout
Resources:
Uses Wire.h for i2c operation
Uses SPI.h for SPI operation
BME280 Particle Photon and Core Driver
Orginal by: Marshall Taylor @ SparkFun Electronics
Particle adaption by: Markus Haack (https://github.com/mhaack)
https://github.com/mhaack/SparkFun_BME280
Development environment specifics:
Arduino IDE 1.6.4
Teensy loader 1.23
Particle IDE or Web IDE
This code is released under the [MIT License](http://opensource.org/licenses/MIT).
Please review the LICENSE.md file included with this example. If you have any questions
Expand All @@ -21,12 +16,9 @@ Distributed as-is; no warranty is given.
//See SparkFunBME280.h for additional topology notes.

#include "SparkFunBME280.h"
#include "stdint.h"
#include "application.h"
#include <math.h>

#include "Wire.h"
#include "SPI.h"

//****************************************************************************//
//
// Settings and configuration
Expand Down
File renamed without changes.

0 comments on commit b29bbe7

Please sign in to comment.