15.02.2019. revision
Dependencies: mbed LCD_DISCO_F469NIa SD_DISCO_F469NI BSP_DISCO_F469NIa EEPROM_DISCO_F469NI
Diff: screen_library.cpp
- Revision:
- 3:a06e417a5a2c
- Parent:
- 2:f54f01527ebb
- Child:
- 4:0e8413277df8
--- a/screen_library.cpp Thu Jun 28 16:33:23 2018 +0000 +++ b/screen_library.cpp Thu Jul 05 20:18:32 2018 +0000 @@ -42,7 +42,9 @@ void SetIntro(){ // Set Intro screen DrawRGBImage(LogoBig,0,0); - wait(0.5); + wait(1); + DrawRGBImage(Branko,250,50); + wait(3); /*lcd.SetTextColor(LCD_COLOR_WHITE); lcd.FillRect(0,0,800,480); PrintString(" Srecnu Novu godinu ",50,70,50,LCD_COLOR_RED); @@ -97,7 +99,7 @@ PrintString("kPa",50,470,30,LCD_COLOR_BLACK); PrintString("kPa",50,470,90,LCD_COLOR_BLACK); PrintString("C",50,470,150,LCD_COLOR_BLACK); - PrintString("Ratio",50,470,210,LCD_COLOR_BLACK); + PrintString("Ratio",50,500,210,LCD_COLOR_BLACK); PrintString("V",50,470,270,LCD_COLOR_BLACK); PrintString("km",50,550,390,LCD_COLOR_BLACK); DrawRGBImage(LogoSmall,LogoSmallXPos,LogoSmallYPos); @@ -105,8 +107,8 @@ SetNumber(Oil_P,50,OilPXPos,OilPYPos,3,0,0); SetNumber(MAP,50,MAPXPos,MAPYPos,3,0,0); SetNumber(Air_Temp,50,AirTempXPos,AirTempYPos,3,0,0); - SetNumber(Lambda,50,LambdaXPos,LambdaYPos,3,0,0); - SetNumber(Volts,50,VoltsXPos,VoltsYPos,3,0,0); + SetNumber(Lambda,50,LambdaXPos,LambdaYPos,4,1,0); + SetNumber(Volts,50,VoltsXPos,VoltsYPos,3,2,0); ChangeCrank(Crank); SetNumber((int)(Meter_counter/10),50,Meter_counterXPos,Meter_counterYPos,5,3,0); }; @@ -180,10 +182,10 @@ ChangeNumber(Air_Temp,Air_Temp0,50,AirTempXPos,AirTempYPos,3,0,0); }; if (Lambda!=Lambda0){ - ChangeNumber(Lambda,Lambda0,50,LambdaXPos,LambdaYPos,3,0,0); + ChangeNumber(Lambda,Lambda0,50,LambdaXPos,LambdaYPos,4,1,0); }; if (Volts!=Volts0){ - ChangeNumber(Volts,Volts0,50,VoltsXPos,VoltsYPos,3,0,0); + ChangeNumber(Volts,Volts0,50,VoltsXPos,VoltsYPos,3,2,0); }; if (Crank!=Crank0){ ChangeCrank(Crank);