Arduino - ANSWER An open-source electronics prototyping platform
void setup(){ } - ANSWER When you establish boundaries for your
code. Everything is put in between the brackets. Tokens such as:
define#, pinMode, serial. Begin, const, etc.
void loop(){ } - ANSWER When you tell your Arduino what it's supposed
to do. (When done, it will repeat) Tokens such as int, digitalWrite,
analogWrite, if, etc.
int x = y - ANSWER When you define x as y. Y can be a number,
another sensor value, or a reading (digitalRead or analogRead). Used in
void loop
pinMode(x,y) - ANSWER When you define a pin as input or output. X is
the pin number and Y is input/output. Used in void setup
digitalWrite(x,y) - ANSWER When you tell a previously determined
output pin to turn HIGH or LOW. Used in void loop
digitalRead(x) - ANSWER When you tell a previously determined input
pin to read its HIGH or LOW signal. Used in void loop
analogWrite(x,y) - ANSWER You tell a previously determined output
pin to send out a ranged signal. Used in void loop
analogRead(x) - ANSWER You tell a previously determined input pin to
read a ranged signal. Used in void loop
Serial.Begin(x) - ANSWER Set the reading speed to x times per
second. Used in void setup
Serial.println(x) - ANSWER Print x to the serial monitor. Used in void
loop
delay(x) - ANSWER Wait x milliseconds. Used in void loop
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Humat. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.