SPI,I2C,RTC

Dependencies:   MFRC522_Updated ssd1306_library

Revision:
5:e86f65d4cdf2
Parent:
4:500f1ba2d17a
Child:
6:820dac5cdd1e
--- a/main.cpp	Wed May 20 01:24:13 2020 +0000
+++ b/main.cpp	Wed May 20 01:28:53 2020 +0000
@@ -14,20 +14,20 @@
 {
     t.attach(&conteo,1);
     q=1589916065;
-
+   
+    while (true) {
+         lcd.init();
     lcd.speed (SSD1306::Medium);
-
-    lcd.init();
     lcd.cls();
     lcd.locate (3,1);
-    lcd.printf ("Hello, world!");
-    lcd.line (  6, 22, 114, 22, SSD1306::Normal);
-    lcd.line (114, 22, 114, 33, SSD1306::Normal);
-    lcd.line (114, 33,   6, 33, SSD1306::Normal);
-    lcd.line (  6, 33,   6, 22, SSD1306::Normal);
-    lcd.fill (0, 0);
+    lcd.printf ("Escaner RF");
+    lcd.locate (4,1);
+    lcd.printf ("Andres Arevalo");
+    lcd.locate (5,1);
+    lcd.printf ("Andres castano");
     lcd.redraw();
-    while (true) {
+    wait(3);
+    lcd.redraw();
         set_time(q);
         time_t seconds = time(NULL);