Save
1st sem idk
EMPOTECH
Different Parts of the Program
Save
Share
Learn
Content
Leaderboard
Learn
Created by
ResonantBagels18358
Visit profile
Cards (11)
Void
Setup - only run once, at the
beginning
of the program
Void Loop
- code that will repeat the code inside the loop function runs over and over as long as the
Maker Board
is turned on
Input inputs a value to the
microcontroller
, has
high
resistance
Output
- outputs value to a device, has
low
resistance
analogRead()
- Reads an analog value from 0-
255
analogWrite()
- Writes an analog value from 0-
255
digitalRead()
Reads a digital value, HIGH,
LOW
digitalWrite()
Writes a digital value, HIGH,
LOW
Serial.begin() - starts the serial monitor, value inside the function is the
baud rate
Serial.print() - prints value or text without a
new line
Serial.println()
- prints value or text with a new
line