Scott Lahteine
3fb43c11fc
Fix compile error with LCD_I2C_VIKI
8 gadus atpakaļ
Scott Lahteine
71842b6a17
Apply const to LCD arguments and locals
8 gadus atpakaļ
Scott Lahteine
cad792e702
Reduce code for invariant lcd_detected
8 gadus atpakaļ
Scott Lahteine
f418e82b15
Remove redundant definition of EN_C
8 gadus atpakaļ
Scott Lahteine
1a2310c494
Make LCD preheat vars an array to reduce code size
8 gadus atpakaļ
Scott Lahteine
1226ae1912
Some cleanup in ultralcd.h
8 gadus atpakaļ
Scott Lahteine
50ee749082
Centralize click-handling in the LCD loop
8 gadus atpakaļ
Scott Lahteine
305913545e
Move number-to-string function to utility.*
8 gadus atpakaļ
Scott Lahteine
330f82971b
Buzzer requires BEEPER_PIN
8 gadus atpakaļ
Scott Lahteine
03fdb26cd2
Wrangle encoder bits, LCD_CLICKED
8 gadus atpakaļ
Scott Lahteine
2bad02e60d
Reprapworld Keypad: F1 opens the Move Axis menu
8 gadus atpakaļ
Scott Lahteine
eaa6f568ee
Prevent re-entrant call of Reprapworld Keypad handler
8 gadus atpakaļ
João Brázio
3ebad4e020
Moves all global enums to a central file
8 gadus atpakaļ
AnHardt
faac2bcfdb
Add a kill-screen
8 gadus atpakaļ
Scott Lahteine
1026e5b071
Replace PLA/ABS preheating with generic
8 gadus atpakaļ
Scott Lahteine
2ee4e4f791
Make wait_for_heatup volatile
8 gadus atpakaļ
Scott Lahteine
160a2be117
Change cancel_heatup to wait_for_heatup
8 gadus atpakaļ
Petr Zahradnik
43ff0ce35f
Rewritten FILAMENT_CHANGE_ENABLE feature
8 gadus atpakaļ
AnHardt
b4fedec0d1
Show bootscreen later
Init display and show bootscreen later, but init display in `kill()`
to init outputs before the bootscreen delays but being able to display
kill errors.
8 gadus atpakaļ
Scott Lahteine
45ea8749d3
Wrap all items depending on ULTIPANEL
8 gadus atpakaļ
João Brázio
2c34ec2bac
Closes #3999 : Compilation error with BEEPER_PIN -1
8 gadus atpakaļ
Scott Lahteine
b23f710034
Cleanup and naming for num-to-string functions
8 gadus atpakaļ
Scott Lahteine
efa7209acf
Improved LCD contrast handling
Based on MarlinFirmware/MarlinDev#200 from @eboston
8 gadus atpakaļ
Scott Lahteine
c6f1337f5c
NOOP macro for do-nothing macros
8 gadus atpakaļ
Scott Lahteine
4f04bf7fe8
Show steps done in the babystep display
8 gadus atpakaļ
Scott Lahteine
7bb15a1c57
Consolidate REPRAPWORLD_KEYPAD definitions
8 gadus atpakaļ
Scott Lahteine
782c598e66
Use ftostr43 with '+' option in MBL Z adjuster
8 gadus atpakaļ
Scott Lahteine
fcedfd6e99
Clean up num2str functions, extend ftostr43
8 gadus atpakaļ
Scott Lahteine
f543aaa54e
Apply standard pin test to buttons
This is the easiest way to make button pin testing consistent without
renaming all the button pins. Just make a macro especially for testing
if button pins are set, since they are named consistently in the pins
files.
8 gadus atpakaļ
Scott Lahteine
b60ea95adf
Keep blinking limited to LCD_UPDATE_INTERVAL
8 gadus atpakaļ
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
8 gadus atpakaļ
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
8 gadus atpakaļ
Scott Lahteine
c97c2dcaf7
Use const parameters instead of static casting
Alternative fix to #3149
8 gadus atpakaļ
Scott Lahteine
cc291aeb3c
Move definition of "blink" to main ultralcd file
8 gadus atpakaļ
Scott Lahteine
ff13070b59
Use _BV macros, patch up others
8 gadus atpakaļ
Ruwan J Egoda Gamage
6f9e9c0e4f
Cleaning up, getting rid of the fake encoder count variable.
9 gadus atpakaļ
Ruwan J Egoda Gamage
becbfe1065
Fixing Rigidbot LCD Panel Support
9 gadus atpakaļ
Ruwan J Egoda Gamage
83c4131ba3
Cleaning up, getting rid of the fake encoder count variable.
9 gadus atpakaļ
Ruwan J Egoda Gamage
5eeea2f611
Fixing Rigidbot LCD Panel Support
9 gadus atpakaļ
AnHardt
8d1eeff021
Fix status LEDs update when reinitializing the display
Fix status LEDs update when reinitializing the display
By using the regular update function during init.
Fixing #2683
9 gadus atpakaļ
AnHardt
be7167ed97
Change XY formatting on LCD (PR#2740)
According to #123 negative values for XY at or below -100 are displaying incorrectly, dropping the first digit. Deltas can easily have XY values in this range. This PR adds a function to display floats/ints formatted like `_123`, `-123`, `_-12`, or `__-1` as appropriate and applies it to the XY coordinates on Hitachi displays. It also moves the Z value to the right to be consistent with the XY formatting.
9 gadus atpakaļ
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 gadus atpakaļ
Richard Wackerbarth
29b456ae07
Suppress some compiler warnings
9 gadus atpakaļ
Scott Lahteine
0d8989fc14
Overridable Options - Part 7 (PR#2559)
Apply `ENABLED` / `DISABLED` macros to LCD-related files.
9 gadus atpakaļ
AnHardt
722829b058
Move buzzing code to buzzr.h & buzzer.cpp (PR#2307)
at least the lcd independent part from Marlin_main.cpp.
9 gadus atpakaļ
AnHardt
6ab7b560af
Rework buzzing (PR#2296)
by:
Moving HAS_LCD_BUZZ macro to Coditionals.h
Renaming HAS_LCD_BUZZ to HAS_BUZZER to make clear is has nothing to do with the lcd.
Removing the ULTRALCD condition.
Moving declaration of lcd_buzz() out of the ULTRA_LCD block in ultralcd.h
Moving definition of lcd_buzz() out of the ULTIPANEL block in ultralcd.cpp
Renaming lcd_buzz() to buzz() to make clear is has nothing to do with the lcd.
All buzzing code is now only dependent on the existence of a BEEPER-pin or the definition of a LCD_USE_I2C_BUZZER.
To do: Check the conditions for the BEEPER-pin in all pin-files.
9 gadus atpakaļ
Scott Lahteine
d4c74b8f8c
Don't apply M428 if an error occurs
- Also move audio feedback into the command
- Added shorthand for `lcd_buzz` availability
9 gadus atpakaļ
Scott Lahteine
7295640f44
Remove extraneous ;
9 gadus atpakaļ
Scott Lahteine
0d8c00d3f6
Define lcd_hasstatus for no lcd also
9 gadus atpakaļ
Scott Lahteine
ce142afdda
G4 shows status message only if no message is set already
- Address issue raised in #1961
9 gadus atpakaļ