ROBOTICS

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

28 Terms

1
New cards

Computer program

A set of instructions for performing tasks.

2
New cards

• C programming language

Developed by Dennis Ritchie.

3
New cards

• C++ programming language

Created by Bjarne Stroustrup.

4
New cards

Arduino programming

Uses C and C++.

5
New cards

Digital signals –

Two states: HIGH and LOW.

6
New cards

Represent a range of values.

Represent a range of values.

7
New cards

setup()

Runs once at startup or reset.

8
New cards

loop()

Repeats instructions continuously.

9
New cards

pinMode(pin, OUTPUT)

Configures a pin as an output.

10
New cards

pinMode(pin, INPUT)

Configures a pin as an input.

11
New cards

digitalWrite(pin, HIGH)

Sets an output pin HIGH.

12
New cards

digitalWrite(pin, LOW)

Sets an output pin LOW.

13
New cards

digitalRead(pin)

Reads the state of a digital input pin.

14
New cards

delay(1000)

Pauses execution for 1,000 milliseconds (1

second).

15
New cards

most statements end with a semicolon (;); braces { }

group statements.

most statements end with a semicolon (;); braces { }

group statements.

16
New cards

Resistor

Limits electric current.

17
New cards

LED

Resistor

18
New cards

Anode / Cathode

Positive / negative LED terminals.

19
New cards

Switch

Opens or closes a circuit.

20
New cards

Push button

Momentary switch operated by pressing.

21
New cards

RGB LED

Combines red, green, and blue light.

22
New cards

Ground (GND)

Common voltage reference point.

23
New cards

Schematic diagram

Represents circuit connections using symbols.

24
New cards

Parallel circuit

Components connected in separate branches.

25
New cards

Open circuit

Interrupted path; current cannot flow through that

path.

26
New cards

Closed circuit

Complete path allowing current

27
New cards

• A push button provides input; the LED provides output.

• A push button provides input; the LED provides output.

28
New cards

• digitalRead() checks a button input; digitalWrite() controls an LED output.

• digitalRead() checks a button input; digitalWrite() controls an LED output.