Procedura di setup TITA32

Dependencies:   BSP_DISCO_F746NG BUTTON_GROUP LCD_DISCO_F746NG TS_DISCO_F746NG mbed

Fork of F746_ButtonGroup_Demo by 不韋 呂

Committer:
gscuttari
Date:
Tue Aug 14 07:23:05 2018 +0000
Revision:
14:7ab188482889
Parent:
13:a47f7699b012
Procedura di Setup TITA 32

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MikamiUitOpen 0:35af280527cf 1 //---------------------------------------------------------------
MikamiUitOpen 0:35af280527cf 2 // Demo program of Button class and ButtonGroup class
MikamiUitOpen 0:35af280527cf 3 //
MikamiUitOpen 12:e2bb579c4455 4 // 2016/02/22, Copyright (c) 2016 MIKAMI, Naoki
MikamiUitOpen 0:35af280527cf 5 //---------------------------------------------------------------
MikamiUitOpen 0:35af280527cf 6
MikamiUitOpen 0:35af280527cf 7 #include "button_group.hpp"
gscuttari 13:a47f7699b012 8 #define T_MAIUSCOLA = 1
gscuttari 13:a47f7699b012 9 #define T_MINUSCOLA = 2
MikamiUitOpen 0:35af280527cf 10 using namespace Mikami;
MikamiUitOpen 0:35af280527cf 11
MikamiUitOpen 0:35af280527cf 12 TS_DISCO_F746NG ts_;
MikamiUitOpen 0:35af280527cf 13 LCD_DISCO_F746NG lcd_;
MikamiUitOpen 0:35af280527cf 14
gscuttari 13:a47f7699b012 15 void aggiornatastiera(void);
gscuttari 13:a47f7699b012 16
gscuttari 13:a47f7699b012 17 uint8_t tastiera = 0; // 0 = Maiuscolo 1 = Minuscolo
gscuttari 13:a47f7699b012 18 uint8_t ssid_psw_press = 0; // 0=NULLA 1=SSID 2=PASSWORD 3=PRESS
gscuttari 13:a47f7699b012 19
gscuttari 13:a47f7699b012 20 const int Y0 = 5;
gscuttari 13:a47f7699b012 21 const int X1 = 10;
gscuttari 13:a47f7699b012 22 const int Y1 = 220;
gscuttari 13:a47f7699b012 23 const uint32_t BACK_COLOR = 0xFF006A6C; // teal green
gscuttari 13:a47f7699b012 24 //const uint32_t INACTIVE = BACK_COLOR & 0xE0FFFFFF; // color for inactive button
gscuttari 13:a47f7699b012 25 const int LETTER_BUTTONS = 45;
gscuttari 13:a47f7699b012 26 const string MAIUSCOLO[LETTER_BUTTONS] = {"Q", "W", "E", "R","T", "Y", "U", "I","O", "P", "A", "S","D", "F", "G", "H", "J", "K", "L", "Z", "X", "C", "V", "B", "N", "M", "1", "2", "3", "4","5", "6", "7", "8","9", "0", "#", "@", "*" ,"!", "_","$","&","%","DEL"};
gscuttari 13:a47f7699b012 27 const string MINUSCOLO[LETTER_BUTTONS] = {"q", "w", "e", "r","t", "y", "u", "i","o", "p", "a", "s","d", "f", "g", "h", "j", "k", "l", "z", "x", "c", "v", "b", "n", "m", "1", "2", "3", "4","5", "6", "7", "8","9", "0", "#", "@", "*", "!","_","$","&","%", "DEL"};
gscuttari 13:a47f7699b012 28 char ARRAY_MINUSCOLO[] = {'q', 'w', 'e', 'r','t', 'y', 'u', 'i','o', 'p', 'a', 's','d', 'f', 'g', 'h', 'j', 'k', 'l', 'z', 'x', 'c', 'v', 'b', 'n', 'm', '1', '2', '3', '4','5', '6', '7', '8','9','0','#','@','*','!','_','$','&','%',};
gscuttari 13:a47f7699b012 29 char ARRAY_MAIUSCOLO[] = {'Q', 'W', 'E', 'R','T', 'Y', 'U', 'I','O', 'P', 'A', 'S','D', 'F', 'G', 'H', 'J', 'K', 'L', 'Z', 'X', 'C', 'V', 'B', 'N', 'M', '1', '2', '3', '4','5', '6', '7', '8','9','0','#','@','*','!','_','$','&','%',};
gscuttari 13:a47f7699b012 30 char SSID[] = {NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL};
gscuttari 13:a47f7699b012 31 char PASSWORD [] = {NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL,NULL, NULL};
gscuttari 13:a47f7699b012 32 uint8_t text[30];
gscuttari 13:a47f7699b012 33 float gasPressureInBar = 3.0;
gscuttari 13:a47f7699b012 34
MikamiUitOpen 0:35af280527cf 35 int main()
MikamiUitOpen 0:35af280527cf 36 {
gscuttari 13:a47f7699b012 37
gscuttari 13:a47f7699b012 38 lcd_.Clear(BACK_COLOR);
gscuttari 13:a47f7699b012 39 ButtonGroup bGroup(lcd_, ts_, 10, Y0, 47, 29,
gscuttari 13:a47f7699b012 40 LCD_COLOR_BLUE, LCD_COLOR_DARKBLUE, LETTER_BUTTONS, MAIUSCOLO, 5, 5, 9,Font16);
gscuttari 13:a47f7699b012 41
gscuttari 13:a47f7699b012 42 const string STR_SW[4] = {"SSID", "PSW" , "BAR", "OK"};
gscuttari 13:a47f7699b012 43 ButtonGroup sw(lcd_, ts_, 130, 220, 55, 40,
gscuttari 13:a47f7699b012 44 LCD_COLOR_GRAY, LCD_COLOR_DARKBLUE, 4, STR_SW, 5, 0, 4, Font16);
gscuttari 13:a47f7699b012 45
gscuttari 13:a47f7699b012 46 const string PIU_MENO[2] = {"+", "-"};
gscuttari 13:a47f7699b012 47 ButtonGroup piu_meno(lcd_, ts_, 369, 220, 50, 40,
gscuttari 13:a47f7699b012 48 LCD_COLOR_BLUE, LCD_COLOR_DARKBLUE, 2, PIU_MENO, 5, 0, 2, Font16);
gscuttari 13:a47f7699b012 49
gscuttari 13:a47f7699b012 50 const string STR_MA_MIN[2] = {"A", "a"};
gscuttari 13:a47f7699b012 51 ButtonGroup ma_min(lcd_, ts_, 10, 220, 55, 40,
gscuttari 13:a47f7699b012 52 LCD_COLOR_GRAY, LCD_COLOR_BLACK, 2, STR_MA_MIN, 5, 0, 2, Font16);
gscuttari 13:a47f7699b012 53
gscuttari 13:a47f7699b012 54 int num;
gscuttari 13:a47f7699b012 55 int num1;
gscuttari 13:a47f7699b012 56
MikamiUitOpen 12:e2bb579c4455 57
MikamiUitOpen 0:35af280527cf 58 while (true)
MikamiUitOpen 0:35af280527cf 59 {
gscuttari 13:a47f7699b012 60 //dOut = 1;
MikamiUitOpen 12:e2bb579c4455 61 bool touched = bGroup.GetTouchedNumber(num, LCD_COLOR_DARKBLUE);
gscuttari 13:a47f7699b012 62 bool touched1 = piu_meno.GetTouchedNumber(num1, LCD_COLOR_DARKBLUE);
gscuttari 13:a47f7699b012 63 // bool touched2 = ma_min.GetTouchedNumber(num2, LCD_COLOR_BLACK);
gscuttari 13:a47f7699b012 64 //dOut = 0;
gscuttari 13:a47f7699b012 65 //char tastino;
gscuttari 13:a47f7699b012 66 //tastino = '\0';
gscuttari 13:a47f7699b012 67
gscuttari 13:a47f7699b012 68 if (touched1 && ssid_psw_press == 3 && num1 == 0) {
gscuttari 13:a47f7699b012 69 gasPressureInBar = gasPressureInBar + 0.1;
gscuttari 13:a47f7699b012 70 sprintf((char*)text, "%3.2f Bar", gasPressureInBar);
gscuttari 13:a47f7699b012 71 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 72 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 73 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 74 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 75 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 76 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 77 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&text, LEFT_MODE);
gscuttari 13:a47f7699b012 78 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 79 wait(0.3);
gscuttari 13:a47f7699b012 80 piu_meno.Redraw(num1);
gscuttari 13:a47f7699b012 81
gscuttari 13:a47f7699b012 82 }
gscuttari 13:a47f7699b012 83
gscuttari 13:a47f7699b012 84 if (touched1 && ssid_psw_press == 3 && num1 == 1) {
gscuttari 13:a47f7699b012 85
gscuttari 13:a47f7699b012 86 gasPressureInBar = gasPressureInBar - 0.1;
gscuttari 13:a47f7699b012 87 sprintf((char*)text, "%3.2f Bar", gasPressureInBar);
gscuttari 13:a47f7699b012 88 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 89 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 90 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 91 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 92 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 93 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 94 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&text, LEFT_MODE);
gscuttari 13:a47f7699b012 95 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 96 wait(0.3);
gscuttari 13:a47f7699b012 97 piu_meno.Redraw(num1);
gscuttari 13:a47f7699b012 98 }
gscuttari 13:a47f7699b012 99
gscuttari 13:a47f7699b012 100 if (ma_min.Touched(0, LCD_COLOR_BLACK)) {
gscuttari 13:a47f7699b012 101 tastiera = 0;
gscuttari 13:a47f7699b012 102 }
gscuttari 13:a47f7699b012 103
gscuttari 13:a47f7699b012 104 if (ma_min.Touched(1, LCD_COLOR_BLACK)) {
gscuttari 13:a47f7699b012 105 tastiera = 1;
gscuttari 13:a47f7699b012 106 }
gscuttari 13:a47f7699b012 107
MikamiUitOpen 12:e2bb579c4455 108
MikamiUitOpen 12:e2bb579c4455 109 if (touched)
MikamiUitOpen 0:35af280527cf 110 {
gscuttari 13:a47f7699b012 111
gscuttari 13:a47f7699b012 112 char tastino;
MikamiUitOpen 0:35af280527cf 113 lcd_.SetFont(&Font16);
MikamiUitOpen 0:35af280527cf 114 lcd_.SetTextColor(LCD_COLOR_WHITE);
gscuttari 13:a47f7699b012 115
gscuttari 13:a47f7699b012 116
gscuttari 13:a47f7699b012 117 if (tastiera == 0 && num<=(LETTER_BUTTONS-2)){
gscuttari 13:a47f7699b012 118 tastino = ARRAY_MAIUSCOLO[num];
gscuttari 13:a47f7699b012 119 }
gscuttari 13:a47f7699b012 120 if (tastiera == 1 && num<=(LETTER_BUTTONS-2)){
gscuttari 13:a47f7699b012 121 tastino = ARRAY_MINUSCOLO[num];
gscuttari 13:a47f7699b012 122 }
gscuttari 13:a47f7699b012 123
gscuttari 13:a47f7699b012 124 int n = 0;
gscuttari 13:a47f7699b012 125
gscuttari 13:a47f7699b012 126 if(num <= (LETTER_BUTTONS-2)) {
gscuttari 13:a47f7699b012 127
gscuttari 13:a47f7699b012 128 // -------------------
gscuttari 13:a47f7699b012 129 if(ssid_psw_press == 1) {
gscuttari 13:a47f7699b012 130 while((SSID[n] !=NULL)) {
gscuttari 13:a47f7699b012 131 n++;
gscuttari 13:a47f7699b012 132 }
gscuttari 13:a47f7699b012 133 if (n<27) {
gscuttari 13:a47f7699b012 134 SSID[n] = tastino;
gscuttari 13:a47f7699b012 135 }
gscuttari 13:a47f7699b012 136 }
gscuttari 13:a47f7699b012 137 // -------------------
gscuttari 13:a47f7699b012 138 if(ssid_psw_press == 2) {
gscuttari 13:a47f7699b012 139 while((PASSWORD[n] !=NULL)) {
gscuttari 13:a47f7699b012 140 n++;
gscuttari 13:a47f7699b012 141 }
gscuttari 13:a47f7699b012 142 if (n<27) {
gscuttari 13:a47f7699b012 143 PASSWORD[n] = tastino;
gscuttari 13:a47f7699b012 144 }
gscuttari 13:a47f7699b012 145 }
gscuttari 13:a47f7699b012 146 } else {
gscuttari 13:a47f7699b012 147
gscuttari 13:a47f7699b012 148 // delete char ---------
gscuttari 13:a47f7699b012 149
gscuttari 13:a47f7699b012 150 if(ssid_psw_press == 1) {
gscuttari 13:a47f7699b012 151 while((SSID[n] !=NULL)) {
gscuttari 13:a47f7699b012 152 n++;
gscuttari 13:a47f7699b012 153 }
gscuttari 13:a47f7699b012 154 if (n != 0) {
gscuttari 13:a47f7699b012 155 SSID[n-1] = NULL;
gscuttari 13:a47f7699b012 156 }
gscuttari 13:a47f7699b012 157 }
gscuttari 13:a47f7699b012 158
gscuttari 13:a47f7699b012 159 // -------------------
gscuttari 13:a47f7699b012 160 if(ssid_psw_press == 2) {
gscuttari 13:a47f7699b012 161 while((PASSWORD[n] != NULL)) {
gscuttari 13:a47f7699b012 162 n++;
gscuttari 13:a47f7699b012 163 }
gscuttari 13:a47f7699b012 164 if (n != 0 ) {
gscuttari 13:a47f7699b012 165 PASSWORD[n-1] = NULL;
gscuttari 13:a47f7699b012 166 }
gscuttari 13:a47f7699b012 167 }
gscuttari 13:a47f7699b012 168
gscuttari 13:a47f7699b012 169 // ---------------------
gscuttari 13:a47f7699b012 170 }
gscuttari 13:a47f7699b012 171
gscuttari 13:a47f7699b012 172 // -------------------
gscuttari 13:a47f7699b012 173
MikamiUitOpen 0:35af280527cf 174
gscuttari 13:a47f7699b012 175 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 176 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 177 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 178 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 179 if (ssid_psw_press == 1 || ssid_psw_press == 1) {
gscuttari 13:a47f7699b012 180 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 181 }
gscuttari 13:a47f7699b012 182 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 183 if (ssid_psw_press == 1) {
gscuttari 13:a47f7699b012 184 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&SSID, LEFT_MODE);
gscuttari 13:a47f7699b012 185 //printf("%s\n",SSID);
gscuttari 13:a47f7699b012 186 //lcd_.DisplayStringAt(X1+300, Y1-27, (uint8_t *)&tastino, LEFT_MODE);
gscuttari 13:a47f7699b012 187 }
gscuttari 13:a47f7699b012 188 if (ssid_psw_press == 2) {
gscuttari 13:a47f7699b012 189 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 190 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 191 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 192 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 193 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 194 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 195 lcd_.DisplayStringAt(X1, Y1-25, (uint8_t *)"PASSWORD:", LEFT_MODE);
gscuttari 13:a47f7699b012 196 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&PASSWORD, LEFT_MODE);
gscuttari 13:a47f7699b012 197 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 198
gscuttari 13:a47f7699b012 199
gscuttari 13:a47f7699b012 200 }
gscuttari 13:a47f7699b012 201 if (ssid_psw_press == 3) {
gscuttari 13:a47f7699b012 202 sprintf((char*)text, "%3.2f Bar", gasPressureInBar);
gscuttari 13:a47f7699b012 203 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&text, LEFT_MODE);
gscuttari 13:a47f7699b012 204 }
gscuttari 13:a47f7699b012 205 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 206 wait(0.3);
gscuttari 13:a47f7699b012 207 bGroup.Redraw(num);
gscuttari 13:a47f7699b012 208
gscuttari 13:a47f7699b012 209 }
gscuttari 13:a47f7699b012 210
gscuttari 13:a47f7699b012 211 //if (sw.Touched(0, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 212 //tastiera = 0;
gscuttari 13:a47f7699b012 213 //aggiornatastiera();
gscuttari 13:a47f7699b012 214 //}
gscuttari 13:a47f7699b012 215
gscuttari 13:a47f7699b012 216 //if (sw.Touched(1, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 217 //tastiera = 1;
gscuttari 13:a47f7699b012 218 //aggiornatastiera();
gscuttari 13:a47f7699b012 219 //}
gscuttari 13:a47f7699b012 220 if (sw.Touched(0, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 221 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 222 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 223 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 224 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 225 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 226 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 227 lcd_.DisplayStringAt(X1, Y1-25, (uint8_t *)"SSID :", LEFT_MODE);
gscuttari 13:a47f7699b012 228 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&SSID, LEFT_MODE);
gscuttari 13:a47f7699b012 229 ssid_psw_press = 1;
gscuttari 13:a47f7699b012 230 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 231 }
gscuttari 13:a47f7699b012 232 if (sw.Touched(1, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 233 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 234 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 235 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 236 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 237 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 238 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 239 //printf("%s\n",PASSWORD);
gscuttari 13:a47f7699b012 240 lcd_.DisplayStringAt(X1, Y1-25, (uint8_t *)"PASSWORD:", LEFT_MODE);
gscuttari 13:a47f7699b012 241 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&PASSWORD, LEFT_MODE);
gscuttari 13:a47f7699b012 242 ssid_psw_press = 2;
gscuttari 13:a47f7699b012 243 lcd_.SetBackColor(oldcolor_back);
gscuttari 13:a47f7699b012 244 }
gscuttari 13:a47f7699b012 245 if (sw.Touched(2, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 246 int oldcolor_text = lcd_.GetTextColor();
gscuttari 13:a47f7699b012 247 int oldcolor_back = lcd_.GetBackColor();
gscuttari 13:a47f7699b012 248 lcd_.SetTextColor(BACK_COLOR);
gscuttari 13:a47f7699b012 249 lcd_.SetBackColor(LCD_COLOR_GRAY);
gscuttari 13:a47f7699b012 250 lcd_.DisplayStringAt(X1+110, Y1-25, (uint8_t *)" ", LEFT_MODE);
gscuttari 13:a47f7699b012 251 lcd_.SetTextColor(oldcolor_text);
gscuttari 13:a47f7699b012 252 lcd_.DisplayStringAt(X1, Y1-25, (uint8_t *)"PRESSURE:", LEFT_MODE);
gscuttari 13:a47f7699b012 253 sprintf((char*)text, "%3.2f Bar", gasPressureInBar);
gscuttari 13:a47f7699b012 254 //lcd_.DisplayStringAt(300, 200, (uint8_t *)&text, LEFT_MODE);
gscuttari 13:a47f7699b012 255 lcd_.DisplayStringAt(X1+120, Y1-25, (uint8_t *)&text, LEFT_MODE);
gscuttari 13:a47f7699b012 256 ssid_psw_press = 3;
gscuttari 13:a47f7699b012 257 lcd_.SetBackColor(oldcolor_back);
MikamiUitOpen 0:35af280527cf 258 }
MikamiUitOpen 0:35af280527cf 259
gscuttari 13:a47f7699b012 260 if (sw.Touched(3, LCD_COLOR_GREEN)) {
gscuttari 13:a47f7699b012 261 // function Exit
MikamiUitOpen 0:35af280527cf 262 }
gscuttari 13:a47f7699b012 263
MikamiUitOpen 12:e2bb579c4455 264
MikamiUitOpen 12:e2bb579c4455 265 wait(0.01f);
gscuttari 13:a47f7699b012 266
MikamiUitOpen 0:35af280527cf 267 }
gscuttari 13:a47f7699b012 268 }