![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
aa
Dependencies: mbed LCD_DISCO_F469NIa SD_DISCO_F469NI BSP_DISCO_F469NIa EEPROM_DISCO_F469NI
Diff: draw_print_library.h
- Revision:
- 6:d6e001d7cf16
- Parent:
- 4:0e8413277df8
--- a/draw_print_library.h Wed Nov 28 12:01:20 2018 +0000 +++ b/draw_print_library.h Wed Feb 12 18:49:12 2020 +0000 @@ -24,11 +24,13 @@ //Positions of Informations on screen const uint16_t GearXPos=272,GearYPos=95; //Gear in Main -const uint16_t OilTempXPos=15,OilTempYPos=200; //Oil Temperature in Main -const uint16_t LogoSmallXPos=635,LogoSmallYPos=5; //Small Logo, all three screens +const uint16_t CapXPos = 300, CapYPos = 140; +const uint16_t BatTempXPos=15,BatTempYPos=200; //Bat Temperature in Main +const uint16_t LogoSmallXPos=625,LogoSmallYPos=5; //Small Logo, all three screens const uint16_t WaterTempXPos=15,WaterTempYPos=350; //Water Temperature in Main const uint16_t TPSXPos=569,TPSYPos=200; //TPS in Main -const uint16_t RpmXPos=330,RpmYPos=30; //Oil Pressure in First Auxiliary +const uint16_t HVVXPos=569,HVVYPos=350; +const uint16_t RpmXPos=330,RpmYPos=30; //Bat Pressure in First Auxiliary const uint16_t MAPXPos=330,MAPYPos=90; //MAP in First Auxiliary const uint16_t AirTempXPos=330,AirTempYPos=150; //Air Temperature in First Auxiliary const uint16_t LambdaXPos=330,LambdaYPos=210; //Lambda Sensor value in First Auxiliary @@ -67,7 +69,13 @@ void SetNumber(int num,int Font,uint16_t StartXPos,uint16_t StartYPos, int digits, int dec_point, int sign); //Set number to specific value function void DrawRGBImage(IMAGE Image,uint16_t StartXPos,uint16_t StartYPos); //Draw RGB Coloured image function void UpdateSpeedMeter(int V,int dV); //Update Speedmeter function -void ChangeCrank(int Crank); //Update Crank error message function +void ChangeCrank(int Crank); +int UpdateCapBar(int H, int H0, uint16_t StartXPos, uint16_t StartYPos); //Update Crank error message function int UpdateLVDTScale(int H,int H0, uint16_t StartXPos, uint16_t StartYPos); //Update LVDT Bar function void BrakeSignal(uint16_t brake); //Set Brake signal function -void TestFont(); //Test font 50 function +void TestFont(); +void DrawBatTempMap(); +void UpdateBatTempMap(); +uint32_t TempColor(uint8_t temperature); +void UpdateCellTemp(uint8_t hsegment, uint8_t row, uint8_t temp); //Test font 50 function +void SetFixedAccTemp(); \ No newline at end of file