My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ammeter.h 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. //
  24. // lcd/dogm/status/ammeter.h - Status Screen Laser Ammeter bitmaps
  25. //
  26. #define STATUS_AMMETER_WIDTH 20
  27. const unsigned char status_ammeter_bmp_mA[] PROGMEM = {
  28. B00000000,B11111100,B00000000,
  29. B00000011,B00000011,B00000000,
  30. B00000100,B00000000,B10000000,
  31. B00001000,B00000000,B01000000,
  32. B00010000,B00000110,B00100000,
  33. B00010000,B00001001,B00100000,
  34. B00100000,B00001001,B00010000,
  35. B00100011,B01001111,B00010000,
  36. B11100010,B10101001,B00011100,
  37. B00100010,B10101001,B00010000,
  38. B00100010,B10101001,B00010000,
  39. B00010000,B00000000,B00100000,
  40. B00010000,B00000000,B00100000,
  41. B00001000,B00000000,B01000000,
  42. B00000100,B00000000,B10000000,
  43. B00000011,B00000011,B00000000,
  44. B00000000,B11111100,B00000000
  45. };
  46. const unsigned char status_ammeter_bmp_A[] PROGMEM = {
  47. B00000000,B11111100,B00000000,
  48. B00000011,B00000011,B00000000,
  49. B00000100,B00000000,B10000000,
  50. B00001000,B00000000,B01000000,
  51. B00010000,B00000000,B00100000,
  52. B00010000,B00110000,B00100000,
  53. B00100000,B01001000,B00010000,
  54. B00100000,B01001000,B00010000,
  55. B11100000,B01111000,B00011100,
  56. B00100000,B01001000,B00010000,
  57. B00100000,B01001000,B00010000,
  58. B00010000,B01001000,B00100000,
  59. B00010000,B00000000,B00100000,
  60. B00001000,B00000000,B01000000,
  61. B00000100,B00000000,B10000000,
  62. B00000011,B00000011,B00000000,
  63. B00000000,B11111100,B00000000,
  64. };