Ello all! I am a full time mechanical engineering student with a begree in network engineering and business, however, with all the routers and firewalls i have configured, i have never had to program before. So this is all new to me.
I am following the basic blinking light test for my nano
by looking at the nano, i cant seem to figure out how people can tell that pin D13 is attached to the on-board led. But ill trust that info for now haha.
Ok, i have the sketch actually working and uploaded to the nano. It works! yay.
but i dont want to just copy text and paste it. i want to know what is going on.
So with thta in mind, im am curious to what the int function is actually doing. here is some partial code:
int ledPin = 13;
what is that above function actually doing. as in, what is int doing? To me, i was told that int means integer but the only integer i see up there is 13, so what is ledPin doing in the command?
I also noticed that if i change the following, it still works
int lp = 13;
so i am confused to what the int comand actually does.. haha
thanks for the help