setup:
sets everything up.
loop:
an infinite loop were your main programe goes.
Serial.print:
prints text to screen with out creating a new line
Serial.println:
prints text to screen and creates a new line.
delay(x):
delays the programe for "x" amount of milliseconds.
pinMode():
sets the pin to input or output.
digitalRead():
returns the current (or something like that) of the pin given.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment