-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoot.ino
executable file
·68 lines (61 loc) · 1.39 KB
/
Boot.ino
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
void Boot()
{
// tft.fillScreen(RED);
// tft.fillScreen(GREEN);
// tft.fillScreen(BLUE);
tft.fillScreen(BLACK);
tft.drawRect(0,0,480,320,WHITE);
delay(100);
tft.setFont(&FreeSans24pt7b);
tft.setCursor(65,100);
tft.setTextColor(PINK);
tft.setTextSize(1);
tft.print("SMART METER");
delay(50);
tft.setFont(&FreeSans12pt7b);
tft.setCursor(105,145);
tft.setTextColor(MAGENTA);
tft.print("1-Ph AC Energy Monitor");
delay(300);
tft.setFont(&FreeMono18pt7b);
tft.setTextColor(GREEN);
tft.setCursor(135,232);
tft.print("Loading");
delay(200);
tft.setCursor(135,232);
tft.print("Loading.");
delay(100);
tft.setCursor(135,232);
tft.print("Loading..");
delay(100);
tft.setCursor(135,232);
tft.print("Loading...");
delay(100);
tft.fillRect(100,200,280,55,BLACK);
tft.setCursor(135,232);
tft.print("Loading");
delay(200);
tft.setCursor(135,232);
tft.print("Loading.");
delay(100);
tft.setCursor(135,232);
tft.print("Loading..");
delay(100);
tft.setCursor(135,232);
tft.print("Loading...");
delay(100);
tft.fillRect(100,200,280,55,BLACK);
tft.setCursor(135,232);
tft.print("Loading");
delay(200);
tft.setCursor(135,232);
tft.print("Loading.");
delay(100);
tft.setCursor(135,232);
tft.print("Loading..");
delay(100);
tft.setCursor(135,232);
tft.print("Loading...");
delay(200);
tft.fillScreen(BLACK);
}