Add Laser Based I2C Ammeter Feature (#21835)
This commit is contained in:
committed by
Scott Lahteine
parent
a3063a9392
commit
2fd9971f41
71
Marlin/src/lcd/dogm/status/ammeter.h
Normal file
71
Marlin/src/lcd/dogm/status/ammeter.h
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||
*
|
||||
* Based on Sprinter and grbl.
|
||||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
//
|
||||
// lcd/dogm/status/ammeter.h - Status Screen Laser Ammeter bitmaps
|
||||
//
|
||||
#if ENABLED(I2C_AMMETER)
|
||||
|
||||
#define STATUS_AMMETER_WIDTH 20
|
||||
|
||||
const unsigned char status_ammeter_bmp_mA[] PROGMEM = {
|
||||
B00000000,B11111100,B00000000,
|
||||
B00000011,B00000011,B00000000,
|
||||
B00000100,B00000000,B10000000,
|
||||
B00001000,B00000000,B01000000,
|
||||
B00010000,B00000110,B00100000,
|
||||
B00010000,B00001001,B00100000,
|
||||
B00100000,B00001001,B00010000,
|
||||
B00100011,B01001111,B00010000,
|
||||
B11100010,B10101001,B00011100,
|
||||
B00100010,B10101001,B00010000,
|
||||
B00100010,B10101001,B00010000,
|
||||
B00010000,B00000000,B00100000,
|
||||
B00010000,B00000000,B00100000,
|
||||
B00001000,B00000000,B01000000,
|
||||
B00000100,B00000000,B10000000,
|
||||
B00000011,B00000011,B00000000,
|
||||
B00000000,B11111100,B00000000
|
||||
};
|
||||
|
||||
const unsigned char status_ammeter_bmp_A[] PROGMEM = {
|
||||
B00000000,B11111100,B00000000,
|
||||
B00000011,B00000011,B00000000,
|
||||
B00000100,B00000000,B10000000,
|
||||
B00001000,B00000000,B01000000,
|
||||
B00010000,B00000000,B00100000,
|
||||
B00010000,B00110000,B00100000,
|
||||
B00100000,B01001000,B00010000,
|
||||
B00100000,B01001000,B00010000,
|
||||
B11100000,B01111000,B00011100,
|
||||
B00100000,B01001000,B00010000,
|
||||
B00100000,B01001000,B00010000,
|
||||
B00010000,B01001000,B00100000,
|
||||
B00010000,B00000000,B00100000,
|
||||
B00001000,B00000000,B01000000,
|
||||
B00000100,B00000000,B10000000,
|
||||
B00000011,B00000011,B00000000,
|
||||
B00000000,B11111100,B00000000,
|
||||
};
|
||||
|
||||
#endif
|
@@ -29,40 +29,40 @@
|
||||
#define STATUS_COOLER_WIDTH 22
|
||||
|
||||
const unsigned char status_cooler_bmp2[] PROGMEM = {
|
||||
B00000100,B00000010,B00000000,
|
||||
B00000100,B10010010,B01000000,
|
||||
B00010101,B00001010,B10000000,
|
||||
B00001110,B00000111,B00000000,
|
||||
B00111111,B10111111,B11000000,
|
||||
B00001110,B00000111,B00000000,
|
||||
B00010101,B00001010,B10000000,
|
||||
B00100100,B00100010,B01000000,
|
||||
B00000100,B00100000,B00000000,
|
||||
B00000001,B00100100,B00000000,
|
||||
B00000000,B10101000,B00000000,
|
||||
B00000000,B01110000,B00000000,
|
||||
B00000111,B11111111,B00000000,
|
||||
B00000000,B01110000,B00000000,
|
||||
B00000000,B10101000,B00000000,
|
||||
B00000001,B00100100,B00000000
|
||||
B00000001,B00000000,B10000000,
|
||||
B00000001,B00100100,B10010000,
|
||||
B00000101,B01000010,B10100000,
|
||||
B00000011,B10000001,B11000000,
|
||||
B00001111,B11101111,B11110000,
|
||||
B00000011,B10000001,B11000000,
|
||||
B00000101,B01000010,B10100000,
|
||||
B00001001,B00001000,B10010000,
|
||||
B00000001,B00001000,B00000000,
|
||||
B00000000,B01001001,B00000000,
|
||||
B00000000,B00101010,B00000000,
|
||||
B00000000,B00011100,B00000000,
|
||||
B00000001,B11111111,B11000000,
|
||||
B00000000,B00011100,B00000000,
|
||||
B00000000,B00101010,B00000000,
|
||||
B00000000,B01001001,B00000000
|
||||
};
|
||||
const unsigned char status_cooler_bmp1[] PROGMEM = {
|
||||
B00000100,B00000010,B00000000,
|
||||
B00000100,B10010010,B01000000,
|
||||
B00010101,B00001010,B10000000,
|
||||
B00001010,B00000101,B00000000,
|
||||
B00110001,B11011000,B11000000,
|
||||
B00001010,B00000101,B00000000,
|
||||
B00010101,B00001010,B10000000,
|
||||
B00100100,B00100010,B01000000,
|
||||
B00000100,B00100000,B00000000,
|
||||
B00000001,B00100100,B00000000,
|
||||
B00000000,B10101000,B00000000,
|
||||
B00000000,B01010000,B00000000,
|
||||
B00000111,B10001111,B00000000,
|
||||
B00000000,B01010000,B00000000,
|
||||
B00000000,B10101000,B00000000,
|
||||
B00000001,B00100100,B00000000
|
||||
B00000001,B00000000,B10000000,
|
||||
B00000001,B00100100,B10010000,
|
||||
B00000101,B01000010,B10100000,
|
||||
B00000010,B10000001,B01000000,
|
||||
B00001100,B01110110,B00110000,
|
||||
B00000010,B10000001,B01000000,
|
||||
B00000101,B01000010,B10100000,
|
||||
B00001001,B00001000,B10010000,
|
||||
B00000001,B00001000,B00000000,
|
||||
B00000000,B01001001,B00000000,
|
||||
B00000000,B00101010,B00000000,
|
||||
B00000000,B00010100,B00000000,
|
||||
B00000001,B11100011,B11000000,
|
||||
B00000000,B00010100,B00000000,
|
||||
B00000000,B00101010,B00000000,
|
||||
B00000000,B01001001,B00000000
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user