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
#214
New Icons
Fix Hold to scroll timer with a lockout
Fix Menu lengths
New French Translation Closes#228
Fix confirmation message scroll speed
Fix translations.cpp
* Split menu handling,speed up OLED
* Split menu apart
Split menu apart.
Next to add icons etc
* Finished main menu re-layout
* Added menu option for scroll speed
* Speed up scroll settings, pad translations
* Enabled DOUBLE line for Croatian + translation fix
Enabled DOUBLE line Menu for Croatian.
A minor translation fix.
* Added Double line menus for Croatian
Added Double line menus for Croatian. For some reason they were not included in the previous pull request, even though I made them (most probably it was by my mistake).
* Added "Power: " translation for Croatian
* Menu desciption scroll sped up 3x
* Slow scroll
* Additional HR translation fix
* EOL fixed
* Fixed flickering - update only when required
* Parametrized description scrolling speed
* Synchronized Translation.c with original Ralim master
* Removed unnecessary check
* lcd.refresh() in description scroll called only when required
* Smooth scrolling also implemented in userConfirmation() method
* Variable messageSpeedFactor renamed to messageSpeedFactor
* Variable renamed
+ Creates a new driver for the LIS2DH accelerometer
+ Fixes timing issues since we're already touching a chunk of code
The LIS2DH driver should output similar numbers to the old MMA accelerometer.
Fixes#202Fixes#189
* Add small 6x8 font with utf8 extended charset.
The font data is created from the CasioNostalgia font by zdimension
found at: https://fontstruct.com/fontstructions/show/1193786/casionostalgia
* Cleanup Font.h
The font data should be untouched.
This commit does:
* whitespace cleanup
* some cosmetic changes to the comments
* removing commas at the end of array declarations
* Update OLED.cpp to use utf8 capable FONT_6x8
* Remove ASCII6x8 from Font.h
Removed because all glyphs from ASCII6x8 are now contained in FONT_6x8.
* Fix char offset for UTF-8 page 0xc3
* Added czech translation
Added czech translation (locale cs_CZ)
* Make simple sleep screen more readable
Add gap between "zzz" and temperature for better readability.
* Adjusted czech translation
Modified texts after testing on real device to fix char issues and increase readability