Tincercadde Ardunio ile Yaptığımız Saat Çalışması
![Resim](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWDoveV31tGjEY1n1Pj_OhUq5sOrISunkhdiz6ivQnmlctI21vZC6W1dTfrt2IPwQBX0A59j5O-THmj0POff9ocuO1yPAXFGmPbTcecFR34rKaOIytDs6PBnq9PMUA8X2w1LJpY4ExZcu4/w378-h297/saat.png)
* Tincercadde yaptığımız ardunio ile saat çalışması. Malzemeler: Link: https://www.tinkercad.com/things/1B18ULU6AFd-copy-of-arduino-digital-clock-without-rtc-module/editel?sharecode=q6UEdo1_aVCsIsXId_AQ6O3K1F0RYMrJAGcPR-Use3k Kodlar: #include <LiquidCrystal.h> const int rs = 2; const int en = 3; const int d4 = 4; const int d5 = 5; const int d6 = 6; const int d7 = 7; LiquidCrystal lcd(rs, en, d4, d5, d6, d7); int h = 12; int m = 0; int s = 0; int flag = 0; int TIME = 0; const int hs = 0; const int ms = 1; int state1 = 0; int state2 = 0; void setup() { lcd.begin(16, 2); pinMode(hs, INPUT_PULLUP); pinMode(ms, INPUT_PULLUP); } void loop() { lcd.setCursor(0, 0); s = s + 1; lcd.print("TIME:" ); lcd.print(h); lcd.print(":"); lcd.print(m); lcd.print(":"); lcd.print(s); if (flag < 12) lcd.print(" AM"); if (flag == 12) lcd.print(" PM"); if (flag > 12) lcd.print(" PM"); if (flag == 24) f