Commit Graph

20 Commits

Author SHA1 Message Date
Scott Lahteine
3bbb121e7d Tweak some Max7219 code 2018-07-19 18:51:35 -05:00
Roxy-3D
6c62b0e263
Change Max7219_idle_task() to use columns if Y-Axis has 16 LED's (#11317) 2018-07-19 16:59:38 -05:00
Roxy-3D
bc961220b7
Change Max7219_idle_task() routines to use single line if X-Axis has 16 or more LED's
Change Max7219_idle_task() routines to use single line if X-Axis has 16 or more LED's

This gets bugfix_1.1.x at parity with https://github.com/MarlinFirmware/Marlin/pull/11285 when it gets merged.
2018-07-16 19:23:59 -05:00
Roxy-3D
39b3e4c501
Support for multiple Max7219 units in a chain (#11226)
* Support for multiple Max7219 units in a chain

I'll move this support over to bugfix_2.0.0 in the next few days.   And
then look at updating the Max7219_idle() routine to make use of multiple
units in a chain.

* spelling correction
2018-07-08 17:35:58 -05:00
Scott Lahteine
8600cbb01b Clear Max7219 without test pattern 2018-06-25 11:54:14 -04:00
Scott Lahteine
dc087b1132
[1.1.x] Tweaks and additions for MAX7219 (#11033) 2018-06-18 22:03:53 -05:00
Scott Lahteine
35023b09ef Fix critical section start/end 2018-06-16 17:38:46 -05:00
Scott Lahteine
3505d018db Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-13 04:51:33 -05:00
Scott Lahteine
039302bf4c
Better handling of DELAY_NS and DELAY_US (#10717)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
2018-05-12 04:22:55 -05:00
Roxy-3D
42180e25a3
change Max7219 coordinates are in traditional (X,Y) format 2018-05-05 16:07:20 -05:00
Scott Lahteine
083bfa3fe9 Remove refs to non-existent CPU_32_BIT 2018-04-27 00:55:29 -05:00
Roxy-3D
b95a1b94cb
make Max7219 usable at ISR time 2018-04-26 14:32:24 -05:00
Scott Lahteine
336131fb37 Trailing whitespace 2018-04-11 00:27:43 -05:00
Roxy-3D
661a38586b Resolve corruption of Max7219 Debug LED Matrix 2018-04-08 22:25:11 -05:00
Scott Lahteine
30b08e218d Patch Max7219 for parity with 2.0.x 2018-02-11 05:19:36 -06:00
Scott Lahteine
8f57a3e28a Apply coding standards to Max7219 code 2017-11-17 15:33:55 -06:00
Scott Lahteine
4e19c59ab3 Miscellaneous cleanup 2017-11-16 01:18:05 -06:00
Roxy-3D
2e746f2b8b Initial conflict resolution of SD_REPRINT_LAST_SELECTED_FILE (#8104)
* Initial conflict resolution

All previous items resolved:
- Use of ELAPSED() on timer code
- Switch to use of defer_return_to_status=true as much as possible
- Update & Clean Up of Max7219 routines

* Resolve non-SD case in ultralcd.cpp
2017-10-26 11:44:55 -05:00
Scott Lahteine
5851c2d36f MAX7219 followup (#7564)
* Add MAX7219_DEBUG to Travis CI testing

* Tweak config and use standard pin naming for MAX7219_DEBUG

* MAX7219: Apply coding standards, use macros, etc.

* Make code work...
2017-08-31 11:44:43 -05:00
Roxy-3D
3f0b38ed5d Add Max7219 LED Matrix Debug Support (#7563)
* Add Max7219 LED Matrix Debug Support

The Max7219 8x8 LED Matrix's are very helpful for debugging new code.
And for that matter, just trying to maximize printer settings without
causing stuttering.

The displays are very inexpensive (under $2.00 with shipping) and
provide a lot of help when trying to debug complicated code.

* Try to keep Makefile up to date.
2017-08-25 17:03:07 -05:00