OK, first of all MAS3, I would like to thank you for not "holding my hand" and telling me how to do all of this. You give me just enough info to get me going. I do realize I may be a little ahead of myself in trying to do what I wish to accomplish, therefore I am backing up and going through some of the examples in the arduino software that might pertain to what I wish to accomplish.
Back on topic, I have went through LED blink example (several times). Here is where I am so far (anything after // are my personal notes):
unsigned long previousMillis = 0;
// Start point for the program (gives the program an integer in which to start the first loop(s) of the equation from). This number will change as the program gets rolling. "unsigned long" does not allow a negative number, and long means it can store a larger # than "int" since 1000 per second adds up very rapidly and causes issues with "int"
unsigned long currentMillis = millis();
//keeps track of time non stop since the program started
if(currentMillis - previousMillis >= interval)
//subtracts the stored previousMillis integer from the program run time, when that number becomes greater than the interval I want, execute the following:
previousMillis = currentMillis;
// set the new program run time to the variable "currentMillis"
if (ledState == LOW)
ledState = HIGH;
// On this part, I may be fully understanding, but I am assuming it is checking the current state of the LED (is it on or off right now)
// If it is on, turn it off and vice versa
*please correct me if I am wrong, I do not understand what == means. The only info I can get in google search for "==" is "Is equal to" as opposed to "equals", which I am not fully grasping the meaning of. Google search does not like searching for "==" lol
else
// If the equation (currentMillis - previousMillis >= interval) is not true, do the following:
ledState = LOW;
//keep the LED off
digitalWrite(ledPin, ledState);
//writes the above info to pin 13 for the LED to turn on or off based on equation results.
Now, my problem is I cannot seem to just substitute lcd.cursor(): and lcd.noCursor(); for ledState. I just cannot seem to figure out how to do it. I either get it to blink fully for 3 seconds then off the remainder of the time, off for 3 seconds then on for the remainder, or a non-stop super-fast blink that is almost unnoticeable.
Edit: I set the variable "interval" to 3 seconds (3000)
I know when I figure this out I will probably be smacking my head on how easy it is.....just a little beginner programming issue I'm sure.