22[ ![ Arduino CI] ( https://github.com/RobTillaart/AsyncAnalog/workflows/Arduino%20CI/badge.svg )] ( https://github.com/marketplace/actions/arduino_ci )
33[ ![ Arduino-lint] ( https://github.com/RobTillaart/AsyncAnalog/actions/workflows/arduino-lint.yml/badge.svg )] ( https://github.com/RobTillaart/AsyncAnalog/actions/workflows/arduino-lint.yml )
44[ ![ JSON check] ( https://github.com/RobTillaart/AsyncAnalog/actions/workflows/jsoncheck.yml/badge.svg )] ( https://github.com/RobTillaart/AsyncAnalog/actions/workflows/jsoncheck.yml )
5+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/RobTillaart/AsyncAnalog.svg )] ( https://github.com/RobTillaart/AsyncAnalog/issues )
6+
57[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/AsyncAnalog/blob/master/LICENSE )
68[ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/AsyncAnalog.svg?maxAge=3600 )] ( https://github.com/RobTillaart/AsyncAnalog/releases )
9+ [ ![ PlatformIO Registry] ( https://badges.registry.platformio.org/packages/robtillaart/library/AsyncAnalog.svg )] ( https://registry.platformio.org/libraries/robtillaart/AsyncAnalog )
710
811
912# AsyncAnalog
@@ -13,7 +16,7 @@ Arduino Library for async reading of an analogue pin. **\[AVR ONLY\]**.
1316
1417## Description
1518
16- AsyncAnalog is a library to read the analogue port of an AVR in an asynchronous way.
19+ AsyncAnalog is a library to read the analogue port of an ** AVR** in an asynchronous way.
1720This means that the user must explicitly ** start** the ADC, check if it is ** ready**
1821and read out its ** value** .
1922
@@ -22,13 +25,18 @@ By using this class, the user prevents the (~112 uSec) blocking of the
2225
2326The library works only for AVR boards now, other platforms might be supported in the future.
2427
28+ ** WARNING**
2529As the UNO has only one ADC that is multiplexed, one can only read one analogue pin
2630in async way simultaneously.
2731
2832** Use with care**
2933
3034
31- ## Interface
35+ ## Interface
36+
37+ ``` cpp
38+ #include " AsynAnalog,h"
39+ ```
3240
3341- ** AsyncAnalog(uint8_t pin)** constructor, defines the analogue pin to use.
3442- ** void start()** triggers a new ADC reading.
@@ -44,12 +52,29 @@ over Serial at 115200 baud.
4452
4553## Future
4654
55+ #### Must
56+
57+ #### Should
58+
4759- improve documentation.
60+
61+ #### Could
62+
4863- investigate the performance gain.
49- - asyncAnalogTest2.ino is no good test.
64+ - asyncAnalogTest2.ino is not a good test.
5065- create examples
5166 - real world examples preferred.
5267- investigate other platforms
5368- fall back to normal analogRead for non AVR platforms ?
54- -
69+ - better have specific code per platform.
70+
71+ #### Wont
72+
73+ ## Support
74+
75+ If you appreciate my libraries, you can support the development and maintenance.
76+ Improve the quality of the libraries by providing issues and Pull Requests, or
77+ donate through PayPal or GitHub sponsors.
78+
79+ Thank you,
5580
0 commit comments