Hello again I feel like I have been catching on pretty good for a beginner.
I have used other codes and made them my own but I like to understand what I am doing. I just have a couple questions and am hoping to get a better understanding. From a code I pulled offline I used it for my project. The coder was much better than I am so I want to know what and why he did seitan things.
if (isPressed) {
led5.on();
} else {
led5.off();
in this I understand if/else but I’ve never seen on/off? I looked into reference guides but couldn’t find it. Can someone help?
timer.setInterval(500L,
In this I am using a simple timer library but I don’t understand the L in the 500L?
Thanks :o
Thank you gpsmikey
There is not much in the definition for that it is from another app.
When I open my IDE go to void loop and type on it turns orange. And when I type off it does not. I was thinking at least with the on command the IDE has to recognize something for it to turn orange. Am I right? As new as I am if there were no colors I would be in more trouble.