Finer input voltage calibration
Settings divisor is stored as uint16_t, not uint8_t.
* Allow more precise input voltage divider calibration.
The existing code changed the input voltage by multiple
tenths of a volt per adjustment, which is way too coarse.
This commit simply multiplies the ADC value (and its divisor)
by 4, which allows for finer calibration adjustments.
Unfortunately, for safety reasons this requires a settings
version bump. While old stored divider values can be detected
and multiplied by 4 on startup to update them, if the user
downgrades firmware it will happily read the new higher value
and cause all sorts of problems (which could be either reading
higher *or* lower depending on how getInputVoltageX10's
parameter wraps around in old firmware due to incorrect type.
* Add rough calls to ADC2 [untested]
* Using dual ADC injected modes
* Start both ADCs
* Move some IRQ's to ram exec
* Stabilize PID a bit more
* Add in ideas for tip type selection
* Add tiptype formula / settings struct
* Add function ids to the settings menu
* Rough tip selection
* Rough out new cal routine for simple tips
* Hardware test is fairly close for first pass
* Add Simple calibration case [UNTESTED]
This adds the calibration option that uses boiling water to the calibration menu.
This is untested, and may need gain adjustments before use.
* Simple Cal Roughly working
* Rough out advanced cal
The flickering on the LCD screen was caused by the OLED DMA taking slightly longer than the delays, so the tail end would flicker if the buffer was cleared before it finished writing.
In future may want to double buffer the LCD.
Fixes#290
This shows the tip temp on the simple home screen if the temp is > 50C.
This removes the tip temp warning for all users, as now everyone can see the tip temp.
#187
* Minor corrections of Russian localization
* Russian Translition - Automatic start mode
Changed the description and the header of the "Automatic start mode" mode, since now it is turned on by the checkbox and not by the T/S/F.
TODO: For other languages, the inaccuracy of this description has remained.
* Russian Translition
Slight fix.
* Ukrainian localization
Added Ukrainian localization. Translation is implemented by natural native speakers.
* LANG_UA -> LANG_UK