Browse Source

Add MAX7219 reverse units option (#11860)

pull/1/head
Roxy-3D 6 years ago
committed by Scott Lahteine
parent
commit
d3d6be8210
  1. 1
      Marlin/Configuration_adv.h
  2. 1
      Marlin/src/config/default/Configuration_adv.h
  3. 1
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 1
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 1
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 1
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 1
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 2
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  9. 1
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 1
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 1
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 1
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 1
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 1
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 1
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 1
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 1
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 1
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 1
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 1
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 1
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 1
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 1
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 1
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 1
      Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration_adv.h
  26. 1
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  27. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  28. 1
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  29. 1
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  30. 1
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  31. 1
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  32. 1
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  33. 1
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  34. 1
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  35. 1
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  36. 1
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  37. 1
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  38. 1
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  39. 1
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  40. 1
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  41. 1
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  42. 1
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  43. 1
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  44. 1
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  45. 1
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  46. 1
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  47. 1
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  48. 1
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  49. 1
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  50. 1
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  51. 1
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  52. 1
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  53. 1
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  54. 1
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  55. 1
      Marlin/src/config/examples/makibox/Configuration_adv.h
  56. 1
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  57. 1
      Marlin/src/config/examples/wt150/Configuration_adv.h
  58. 10
      Marlin/src/feature/Max7219_Debug_LEDs.cpp

1
Marlin/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/default/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Anet/A2/Configuration_adv.h

@ -1674,6 +1674,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h

@ -1674,6 +1674,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Anet/A6/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Anet/A8/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

2
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h

@ -1692,7 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features
* If you add more debug displays, be careful to avoid conflicts!

1
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h

@ -1700,6 +1700,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Cartesio/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h

@ -1695,6 +1695,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Einstart-S/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Felix/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h

@ -1700,6 +1700,7 @@
#define MAX7219_NUMBER_UNITS 2 // Number of Max7219 units in chain.
#define MAX7219_ROTATE -90 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Formbot/T-Rex_2+/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 2 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 2 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/MakerParts/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h

@ -1700,6 +1700,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/RigidBot/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/SCARA/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/TheBorg/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h

@ -1681,6 +1681,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h

@ -1705,6 +1705,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h

@ -1669,6 +1669,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/generic/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h

@ -1699,6 +1699,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h

@ -1694,6 +1694,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/makibox/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h

@ -1692,6 +1692,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

1
Marlin/src/config/examples/wt150/Configuration_adv.h

@ -1693,6 +1693,7 @@
#define MAX7219_NUMBER_UNITS 1 // Number of Max7219 units in chain.
#define MAX7219_ROTATE 0 // Rotate the display clockwise (in multiples of +/- 90°)
// connector at: right=0 bottom=-90 top=90 left=180
//#define MAX7219_REVERSE_ORDER // The individual LED matrix units may be in reversed order
/**
* Sample debug features

10
Marlin/src/feature/Max7219_Debug_LEDs.cpp

@ -53,15 +53,19 @@ Max7219 max7219;
uint8_t Max7219::led_line[MAX7219_LINES]; // = { 0 };
#define LINE_REG(Q) (max7219_reg_digit0 + ((Q) & 0x7))
#if _ROT == 0 || _ROT == 270
#define _LED_BIT(Q) (7 - ((Q) & 0x7))
#define _LED_UNIT(Q) ((Q) & ~0x7)
//#define _LED_UNIT(Q) ((MAX7219_NUMBER_UNITS - 1 - ((Q) >> 3)) << 3) // some Max7219 boards have rotated the matrix
// this line can be substituted to correct orientation
#else
#define _LED_BIT(Q) ((Q) & 0x7)
#endif
#if (_ROT == 0 || _ROT == 270) == ENABLED(MAX7219_REVERSE_ORDER)
#define _LED_UNIT(Q) ((MAX7219_NUMBER_UNITS - 1 - ((Q) >> 3)) << 3)
#else
#define _LED_UNIT(Q) ((Q) & ~0x7)
#endif
#if _ROT < 180
#define _LED_IND(P,Q) (_LED_UNIT(P) + (Q))
#else

Loading…
Cancel
Save