SPIPWM the LEDs
This commit is contained in:
@ -122,7 +122,7 @@ DriverViewViewBase::DriverViewViewBase() :
|
||||
prechargeProgress.setRange(0, 100);
|
||||
prechargeProgress.setDirection(touchgfx::AbstractDirectionProgress::RIGHT);
|
||||
prechargeProgress.setBackground(touchgfx::Bitmap(BITMAP_PRECHARGE_BG_ID));
|
||||
prechargeProgress.setColor(touchgfx::Color::getColorFromRGB(136, 255, 0));
|
||||
prechargeProgress.setColor(touchgfx::Color::getColorFromRGB(99, 186, 0));
|
||||
prechargeProgress.setValue(0);
|
||||
prechargeProgress.setVisible(false);
|
||||
add(prechargeProgress);
|
||||
|
||||
@ -440,8 +440,8 @@
|
||||
"Height": 55,
|
||||
"Visible": false,
|
||||
"Color": {
|
||||
"Red": 136,
|
||||
"Green": 255
|
||||
"Red": 99,
|
||||
"Green": 186
|
||||
},
|
||||
"Direction": "Right",
|
||||
"FileNameBackground": "precharge_bg.png",
|
||||
|
||||
Reference in New Issue
Block a user