Got it, but I do have a question I don’t know if you’ll be able to answer it. Is there any resources I could use to understand lcd coding better because I’ve got my passive buzzer, all three leds, and button but I’m not quite sure how to work with the range in second and minutes in the lcd screen.
You could search the internet and read example code. There really is not much to it. lcd.setCursor(), lcd.write(), lcd.print(), lcd.clear(). If you have a specific question, just post it here.
Hi @xfpd Im really sorry for bothering but I’m really confused and you have been the only one that is responding and helping. I’ve never taken a class like this plus is in high school. I understand that this class is about understanding and looking for your own errors but how I can I find an error when I don’t even know how to start. I’ve search for an 1 hour about understanding the code for seconds and minutes using “millis” **but I’m truly unable to find an answer,**like a full guideline for lcd including the seconds and minutes part. Is not the I haven’t looked and search own my own because I did and that’s why I made an account here because this was my last resource. I need help with coding countdown minutes and seconds the rest I can do it myself.
Any other constructive criticism is welcome
I assume by 'time' you mean the current time? Where in your code are you obtaining that?
Hi, so I phrase it wrong I don’t want it to say time I want to make a countdown timer, I have not achieved a coding yet because like I said in the previous post I don’t know how to do it. I have made all of the tools work except to get minutes and seconds work.
I can provide some of the coding that I have if your okay with it but it only includes buzzer, button, and led lights.
Take a look here:
Omgg tyyy so muchh, I do have a question though for the start time if I put 2:30 will it start counting down from there or do I need to make coding for minutes?
Dentist appointment?
If you put in 2:30 to the simulation... what happens?
I’ve done a simple countdown. To use minutes with it you would need to convert it to seconds and work only with seconds. 2:30 would be 150 seconds.
Another option would be to develop a little more complicated code to work with the minutes and seconds.
150 seconds = (2 * 60 seconds/minute) + 30 seconds
... and...
minute = countdown_seconds / 60 (factored by 60)
seconds = countdown_seconds % 60 (modulous... remainder after dividing by "minute * 60")
That is not helpful. Ask a specific question like where can I find an example for the LCD. Like many cases, the example is in the library.