Skip to content

Commit

Permalink
moved library code back to root from sub-folder
Browse files Browse the repository at this point in the history
when github was adding a hash to the library download zip, there was confusion from beginners about needing to rename the unzipped folder before moving into the arduino ide.
this library has been prepped (thijse) for the arduino library manager, which requires the library to be in the root directory.  Having the library in the manager also removes the "beginner user hash" concern.
  • Loading branch information
br3ttb committed Apr 20, 2015
1 parent c61fb89 commit d46dded
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 20 deletions.
2 changes: 1 addition & 1 deletion PID_v1/PID_v1.cpp → PID_v1.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**********************************************************************************************
* Arduino PID Library - Version 1.0.1
* Arduino PID Library - Version 1.1.1
* by Brett Beauregard <[email protected]> brettbeauregard.com
*
* This Library is licensed under a GPLv3 License
Expand Down
2 changes: 1 addition & 1 deletion PID_v1/PID_v1.h → PID_v1.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef PID_v1_h
#define PID_v1_h
#define LIBRARY_VERSION 1.0.0
#define LIBRARY_VERSION 1.1.1

class PID
{
Expand Down
9 changes: 0 additions & 9 deletions PID_v1/library.properties

This file was deleted.

12 changes: 4 additions & 8 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
***************************************************************
* Arduino PID Library - Version 1.1.0

* Arduino PID Library - Version 1.1.1
* by Brett Beauregard <[email protected]> brettbeauregard.com

*

* This Library is licensed under a GPLv3 License

***************************************************************

- To Use, copy the PID_v1 folder into the Arduino\Libraries directory

- For an ultra-detailed explanation of why the code is the way it is, please visit:
http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/
http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/

- For function documentation see: http://playground.arduino.cc/Code/PIDLibrary
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion PID_v1/library.json → library.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "PID",
"keywords": "PID, controller, signal",
"description": "PID controller calculates an 'error' value as the difference between a measured input and a desired setpoint. The controller attempts to minimize the error by adjusting an output.",
"description": "A PID controller seeks to keep some input variable close to a desired setpoint by adjusting an output. The way in which it does this can be 'tuned' by adjusting three parameters (P,I,D).",
"url": "http://playground.arduino.cc/Code/PIDLibrary",
"include": "PID_v1",
"authors":
Expand Down
9 changes: 9 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name=PID
version=1.1.1
author=Brett Beauregard
maintainer=Brett Beauregard
sentence=PID controller
paragraph=A PID controller seeks to keep some input variable close to a desired setpoint by adjusting an output. The way in which it does this can be 'tuned' by adjusting three parameters (P,I,D).
category=Signal Input/Output
url=http://playground.arduino.cc/Code/PIDLibrary
architectures=*

0 comments on commit d46dded

Please sign in to comment.