Skip to content

Commit

Permalink
Merge pull request #1 from RobTillaart/develop
Browse files Browse the repository at this point in the history
fix library.json
  • Loading branch information
RobTillaart authored Jun 19, 2020
2 parents 6f33ee4 + 411d274 commit d9630aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
10 changes: 5 additions & 5 deletions RunningAverage.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
//
// FILE: RunningAverage.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.2.16
// VERSION: 0.3.1
// DATE: 2015-July-10
// PURPOSE: RunningAverage library for Arduino
// PURPOSE: Arduino library to calculate the running average by means of a circular buffer
// URL: https://github.com/RobTillaart/RunningAverage
//
// The library stores N individual values in a circular buffer,
// to calculate the running average.
Expand Down Expand Up @@ -31,9 +32,8 @@
// 0.2.14 - 2020-01-15 added getValue(n) to retrieve elements in order of addition - see issue #132
// 0.2.15 - 2020-01-17 fix overflow in getValue - see issue #139
// 0.2.16 2020-04-16 improve _sum - see issue #149 (bourkemcrobbo)
//
// Released to the public domain
//
// 0.3.0 2020-04-16 main refactor
// 0.3.1 2020-06-19 fix library.json; minor refactor

#include "RunningAverage.h"

Expand Down
9 changes: 4 additions & 5 deletions RunningAverage.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,16 @@
//
// FILE: RunningAverage.h
// AUTHOR: [email protected]
// VERSION: 0.3.0
// VERSION: 0.3.1
// DATE: 2016-dec-01
// PURPOSE: RunningAverage library for Arduino
// PURPOSE: Arduino library to calculate the running average by means of a circular buffer
// URL: https://github.com/RobTillaart/RunningAverage
//
// HISTORY: See RunningAverage.cpp
//

#define RUNNINGAVERAGE_LIB_VERSION "0.3.0"
#define RUNNINGAVERAGE_LIB_VERSION "0.3.1"

// #include <stdlib.h>
// #include <math.h>
#include "Arduino.h"

class RunningAverage
Expand Down
7 changes: 2 additions & 5 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
"type": "git",
"url": "https://github.com/RobTillaart/RunningAverage.git"
},
"version": "0.3.0",
"version": "0.3.1",
"frameworks": "arduino",
"platforms": "*",
"export": {
"include": "RunningAverage"
}
"platforms": "*"
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=RunningAverage
version=0.3.0
version=0.3.1
author=Rob Tillaart <[email protected]>
maintainer=Rob Tillaart <[email protected]>
sentence=The library stores the last N individual values in a circular buffer to calculate the running average.
Expand Down

0 comments on commit d9630aa

Please sign in to comment.