-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathScreen3.h
48 lines (41 loc) · 1.2 KB
/
Screen3.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Screen 3
void Screen_3STARTSAMPLING(){
// tft.fillRoundRect(65,100,185, 70, 3 , TFT_CYAN1);
tft.pushImage(0,60,320, 150, midscreenback);
tft.setFreeFont(FSSB9); // FreeSansbold9
tft.setTextColor(TFT_CYAN3);
tft.setCursor(75,120);
tft.setTextSize(1);
tft.print("START SAMPLING");
}
void Screen_3T1(){
tft.pushImage(80,145,140, 20, s3_yesnoback);
tft.setFreeFont(FSS9); // FreeSans9
tft.setTextColor(TFT_GREY3);
tft.setCursor(95,160);
tft.setTextSize(1);
tft.print("YES");
tft.fillRoundRect(170,145,45, 20, 1 , TFT_GREY3);
tft.setFreeFont(FSS9); // FreeSans9
tft.setTextColor(TFT_WHITE);
tft.setCursor(180,160);
tft.setTextSize(1);
tft.print("NO");
}
void Screen_3T2(){
tft.pushImage(80,145,140, 20, s3_yesnoback);
tft.fillRoundRect(90,145,45, 20, 1 , TFT_GREY3);
tft.setFreeFont(FSS9); // FreeSans9
tft.setTextColor(TFT_WHITE);
tft.setCursor(95,160);
tft.setTextSize(1);
tft.print("YES");
// tft.fillRoundRect(170,145,45, 20, 1 , TFT_WHITE);
tft.setFreeFont(FSS9); // FreeSans9
tft.setTextColor(TFT_GREY3);
tft.setCursor(180,160);
tft.setTextSize(1);
tft.print("NO");
}
//void DisplayScreen_3(){
//}