Hello Everyone
I need help regarding this Alarm Clock project I'm working on.
What I want to do right now, is make it so that it shows the correct time on the top row of my 2x16 LCD Screen with I2C Adapter, and on the bottom row, just show the time that I'm inputting via an IR Remote. When the alarm time is reached by an RTC Module, a 5V Buzzer sounds, along with an RGB LED Module, and it is supposed to require an RFID Card verification to turn it off.
With this, I came across two problems:
-
I can't get it to both display the proper time all the time AND get it to show what numbers I am inputting on the screen all at one time. Whatever I do, it always seems to either just show the top row constantly updating (no bottom row), or shows the numbers I am inputting, but stops at the time that I was at when the prompt to input started.
-
The RFID simply won't recognize my card at all. I tested to see if my UID was correct, and it was. Even then, It doesn't matter where I put it, it just stops the program wherever it is until it verifies my card. For example, if I place the RFID code block before the code block where it detects the alarm, it won't play the alarm until after I verify the RFID card.
To sum up, it can't turn it off as the alarm is going off, and even then, the card reader won't recognize the card at all despite being the correct UID.
If you need the code, it's attached.
I just pulled an all nighter trying to get this to work, so forgive me if it looks messy, believe me when I say this used to look nice.
code.txt (8.58 KB)