1
0
forked from me/IronOS
Commit Graph

16 Commits

Author SHA1 Message Date
Ben V. Brown
07f4164a32 Mostly working, still have debugging to go 2019-06-17 21:28:33 +10:00
David P Hilton
6a3ca96815 moved debugNumber into OLED class 2018-10-28 21:51:49 -06:00
Ben V. Brown
7d0af3fc4c TS80 Support Stage 1 (#365)
* Estimated pinout into the ioc file

* Fix Atollic paths to be somewhat more portable

* Add make command

* 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

* Update peripheral setup to support TS80

* 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.

* [Feat] Add some QC testing code

* Typo fix

* Add double button press handler for different rising times

* Add hook for jump to sleep mode

* QC for 9V Works!

* Rough out QC handler, trim out old menu help text thats useless

* QC 9V working... Static all the things (Low on ROM)!

* Static all I2C to save space

* Move QC negotiation into background task so it doesnt block the UI

* Input V display works, tune ADC

* QC 3 steps working

* Start tip R measurements

* Impliment tip resistance

* Fix up the accel position, link in auto QC stages

* Fix tip title

* Tip type settings, Static OLED

* Revert I2C callbacks

* Misc Cleanup

* Better Gain value, need to investiate offset

* Add model warning

* Add TS80 Boot Logo (#367)

* Add TS80 Boot Logo

* Refined

* Moved down by 1px

* Add in power selection 18/24W

* Clean up accelerometer, fix TS100 builds, Fix voltage div cal
2018-10-11 14:44:56 +11:00
Ben V. Brown
b6b207568c Delay I2C DMA thread on oled slightly
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
2018-05-11 12:54:55 +10:00
Alessandro Gatti
8bf65351ea Shrink OLED driver code. (#296)
* Precompute command header.
* Update data header on-demand.
* Use more aggressive inlining.
* Do not clear number buffer twice.
2018-05-11 12:32:37 +10:00
Ben V. Brown
771f0a1b9e Cleanup LCD on/off commands into buffer 2018-05-06 20:06:16 +10:00
Ben V. Brown
42db57da25 Update power indicator
Fixes and closes #211
Final 2.04 release coming up :)
2018-04-27 15:25:58 +10:00
Ben V. Brown
b6351f9696 Add showing the tip temp on idle (#226)
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
2018-04-27 14:46:59 +10:00
Ben V. Brown
f599624b6f I2C into nicer wrapper for FreeRToS 2018-04-14 13:37:42 +10:00
jonnieZG
33edf6ba76 Description scroll speed parametrized + smooth scroll in userConfirmation (#221)
* 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
2018-03-11 13:12:49 +11:00
Rockman18
fe1b50f658 Proposal for using checkbox instead of True/False (#177)
Replace True/False icons with checkbox symbols :)
2017-12-24 21:39:16 +11:00
Ben V. Brown
3c2e8765f2 manually merge in dual line settings 2017-12-12 12:25:26 +11:00
Ben V. Brown
aec760e4e7 Revert font table split for now 2017-10-07 12:19:46 +11:00
Ben V. Brown
a0e99374b5 Font bounds check, trying to get Russian working 2017-09-28 15:23:57 +10:00
Ben V. Brown
43c5ca855c UTF8 handling, Cyrillic font, bring over old translations 2017-09-27 21:14:18 +10:00
Ben V. Brown
347968e4ef Fillout settings functions
Settings menu works
Movement working & TMP calibrated
Tip reading sensibily
Accuracy seems ok
Trimmed down overshoot by biasing integral
Saving to flash working, detailed idle
Sleep mode
Description scrolls
Building for DFU working
Motion detection update
Use manual alg instead, using highpass filter, then sum current change vs rolling average
Re-shuffle the pwm code organisation
2017-09-12 12:59:06 +10:00