20190816

Dependencies:   LCD_DISCO_F429ZI TS_DISCO_F429ZI BSP_DISCO_F429ZI

PrjVars.cpp

Committer:
VASKO
Date:
2019-08-16
Revision:
0:81007dc65bac

File content as of revision 0:81007dc65bac:

#include "PrjDefs.h"

Thread RxMsgThrd;
Thread TouchScreenThrd;

LCD_DISCO_F429ZI lcd;
TS_DISCO_F429ZI ts;

Mail<MsgType, MailLength> MsgMail;
bool Start = 0;
uint8_t ChangingParam = ChangingParamNone;
uint8_t ExtraSelected = PWM_Selected;
uint8_t TempR_Selected = cT_Selected;
float TempS = 100;
float dTdt = 0.1;
float cT;
float dT;
float KProp = 0.100;
float KInt = 0.002;
float KDif = 0.100;
float PWM = 0;

RT_Pars TempR_Rect = {DefaultLeftRectXpos,Default1stRowRectYpos,DefaultLeftRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor};
RT_Pars TempS_Rect = {DefaultLeftRectXpos,Default2ndRowRectYpos,DefaultLeftRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor};
RT_Pars dTdt_Rect = {DefaultLeftRectXpos,Default3rdRowRectYpos,DefaultLeftRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor};
RT_Pars Extra_Rect  = {DefaultLeftRectXpos,Default4thRowRectYpos,DefaultLeftRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor};
RT_Pars Start_Rect = {DefaultRightRectXpos,Default1stRowRectYpos,DefaultRightRectWidth,DefaultRectHeight,LCD_COLOR_GREEN,TextXpos,TextYpos,LCD_COLOR_BLACK,"P/S"};
RT_Pars Plus_Rect = {DefaultRightRectXpos,Default2ndRowRectYpos,DefaultRightRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor," +"};
RT_Pars Minus_Rect = {DefaultRightRectXpos,Default3rdRowRectYpos,DefaultRightRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor," -"};
RT_Pars SelExtra_Rect = {DefaultRightRectXpos,Default4thRowRectYpos,DefaultRightRectWidth,DefaultRectHeight,DefaultRectColor,TextXpos,TextYpos,DefaultTextColor," S"};