Electronics
Computers
Syntax
Commands
Binary
100

The sensor which detects a human pushing something

What is a button?

100

This is the part of a computer that supplies power to all parts.

What is a power supply?

100

This is used to end most lines of code.

;

Note: if statements and voids do not use this. ever.

100

Used to declare a new integer.

What is int?

100

The possible outputs for a Digital Port

1 or 0

OR

HIGH or LOW

200

This acronym stands for: Light Emitting Diode

What is an LED?

200

This part of a computer reads CDs and DVDs.

What is a disc drive?

200

This is used to mark the beginning/end of a void, loop, or an if.

{

 } 

200

Used to stop our code from running for an amount of milliseconds.

What is delay(___); ?

200

Convert 3 to binary

11

300

This 3 wired attachment can rotate 180 degrees.

What is a servo?

300

If a computer stops displaying video to a monitor, there might be an issue with this part.

What is a VGA / graphics card.

300

This mark is used to ‘comment out’ a line of code, and mark it for the user’s eyes only.

//

300

Used to print out text to our serial monitor.

Serial.print(“ ”);

OR

Serial.println(“ ”);

300

Convert

111

To decimal

7

400

This is an analog sensor which is rotated to alter resistance.

What is a potentiometer?

400

Random Access Memory, used for temporarily storing data from active processes.

What is RAM?

400

Used to compare two values or variables in an if statement.

==

400

This command writes to a digital port.

digitalWrite(____, ____);

400

A button that is pressed will return this binary digit

1

500

The red wire on a servo goes to this port.

What is a 5 volt pin?

500

Most modern computers have this instead of the traditional hard disk drive (HDD).

What is a solid state drive? (SSD)

500

Used to mark text to be printed, or to mark a string. Always in green font.

“ ”

500

This command ALWAYS GOES IN OUR VOID SETUP WHEN USING THE SERIAL MONITOR.

Serial.begin(9600);

500

We code in a high level language (C++). Code written in binary is referred to as this.

Machine Code / Language

M
e
n
u