2.3.0 - tinyAVR 2-series support! New ADC functionality!
Well. this is a big release, and sooner than I planned. Couldn't help but work on this. This adds:
- Support for 2-series boards in boards.txt for non-optiboot definitions only (I realized there are a couple of complications there, so instead of releasing stuff I know will be seriously broken, bootloaders for 2-series deferred imtol; a 2.3.x/
The most significant addition is a wrapper around more advanced ADC reads, with analogReadEnh - this enhanced analogRead() takes a pin number, and optionally a number of bits of resolution, and optionally a gain of 0 (PGA off), 1 (unity gain(., 2, 4, 8, or 16x gain supported. This function works on all oparts, but only on the tinyAVR 1-series have - Support for differential ADC measurements with analogReadDiff() - works very similar to above
- Support for normal analogRead() on 2-series.
- A few accessory functions to turn features on and off relating toe the new ADC.
The ADC is kind of a big deal. - In addition to that, the long overdue comparator library is ported.
- Bugs in tone and delay were corrected.
- 2-series default millis timer switched to TCB1.
- New version of the pymcuprog bridge that should allow reprogramming of locked chips.
- New avrgcc toolchain to pick up the latest atpacks where the 32k 2-series are first featured.
- Probablty more that I forgot mentioning in the changelog.
Be sure to read the section in t our documents about how to use analogReadEnh and analogReadDiff!