Page 219 - Tasarım Beceri Atölyeleri Öğretmen El Kitabı
P. 219

i=1;
                             tone(buzzer, 2000, 100);
                             lcd.clear();
                             lcd.setCursor(0,0);
                             lcd.print(“Set New Password”);
                             lcd.setCursor(0,1);

                             lcd.print(“>”);
                           }
                           if ( keypressed == ‘*’) {
                             i=1;
                             tone(buzzer, 2000, 100);
                             password = tempPassword;
                             passChangeMode = false;
                             passChanged = false;
                             screenOffMsg = 0;

                           }
                         }
                       }
                     }
                   }
                  }
                }
               }
               void enterPassword() {
                 int k=5;
                 tempPassword = “”;

                 activated = true;
                 lcd.clear();
                 lcd.setCursor(0,0);
                 lcd.print(“ *** ALARM *** “);
                 lcd.setCursor(0,1);



                                                                                                                     211
   214   215   216   217   218   219   220   221   222   223   224