diff --git a/README.txt b/README.txt index b2c32ae..10a01c1 100644 --- a/README.txt +++ b/README.txt @@ -2,16 +2,17 @@ analogComp -This little library can be used to set and manage the analog +This little library can be used to set and manage the analog comparator that is integrated in a wide variety of Atmel microcontrollers -Written by Leonardo Miliani +Written by Leonardo Miliani *********************** Version history +v. 1.2.2: added compatibility with Arduino IDE >= 1.6.7 v. 1.2.1: fixed a bug that let the ADC off after a comparison v. 1.2.0: fixed a bug into the conversion from analog to phisical pins v. 1.1.1: now it calls the correct interrupt vector for the MCU in use @@ -147,4 +148,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *********************** Document revision -7th revision: 2013/07/30 +9th revision: 2016/02/21 diff --git a/analogComp.h b/analogComp.h index 5381c2e..6058720 100644 --- a/analogComp.h +++ b/analogComp.h @@ -8,7 +8,7 @@ The latest version of this library can be found at: http://www.leonardomiliani.com/ - Current version: 1.2.1 - 2013/07/30 + Current version: 1.2.2 - 2016/02/20 (for a complete history of the previous versions, see the README file) This library is free software; you can redistribute it and/or @@ -26,6 +26,8 @@ #ifndef ANALOG_COMP_H #define ANALOG_COMP_H +//library version +#define ANALOGCOMP_VERSION 122 //Library is compatible both with Arduino <=0023 and Arduino >=100 #if defined(ARDUINO) && (ARDUINO >= 100) @@ -88,6 +90,7 @@ class analogComp { uint8_t waitComp(unsigned long = 0); private: //private methods + uint8_t _initialized; }; extern analogComp analogComparator; diff --git a/library.properties b/library.properties new file mode 100755 index 0000000..d4d429b --- /dev/null +++ b/library.properties @@ -0,0 +1,10 @@ +name=analogComp +version=1.2.2 +author=Leonardo Miliani +maintainer=Leonardo Miliani +sentence=Simple scheduler based on watchdog that runs little tasks within IRS +paragraph= +category=Signal Input/Output +url=http://www.leonardomiliani.com +architectures=avr + diff --git a/version b/version new file mode 100644 index 0000000..23aa839 --- /dev/null +++ b/version @@ -0,0 +1 @@ +1.2.2