Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved LCD contrast handling #3944

Merged

Conversation

thinkyhead
Copy link
Member

@thinkyhead thinkyhead commented Jun 2, 2016

Based on MarlinFirmware/MarlinDev#200 from @eboston

  • Rename lcd_setcontrast to set_lcd_contrast
  • Add LCD_CONTRAST_(MIN|MAX) defines, default 0-63
  • Constrain LCD contrast to min/max wherever it is set (by set_lcd_contrast)
  • Include a contrast range for miniVIKI (for completeness)
  • Use positive conditions for HAS_LCD_CONTRAST
  • Add a sanity check for mutually-exclusive SAV_3DGLCD display options

References: #751 (comment), #3912 (comment)

@thinkyhead thinkyhead force-pushed the rc_eboston_lcd_contrast branch 2 times, most recently from b019eba to fbabd56 Compare June 2, 2016 22:26
@thinkyhead thinkyhead merged commit 32f8300 into MarlinFirmware:RCBugFix Jun 4, 2016
@thinkyhead thinkyhead mentioned this pull request Jun 4, 2016
@thinkyhead thinkyhead deleted the rc_eboston_lcd_contrast branch June 4, 2016 00:10
@jbrazio jbrazio added this to the 1.1.0 milestone Jun 7, 2016
@thinkyhead thinkyhead mentioned this pull request Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants