Newish to arduino here, but familiar with electricity (electrician by trade), so still figuring some of this stuff out.
Building an alarm clock, and the library I am using (from rinky dink electronics) spits out the time in a string. I can set the time using variables. But cannot use IF statements to compare a setup alarm time variables (one variable for hours, one for the minutes) to the string to set the alarm off.
I think my real question is, is there a way to convert 2 integers into a string within the loop? What I basically want to do is (and I know this wouldnt compile it is just the easiest way to explain it):
if (rtc.getTimeStr == alarmstring)
this would be the alarm
my integers are: "alarmhour", and "alarmmin"