Wiring Connections Flashcards
1
Q
Arduino’s main chip
A
ATMEGA328
2
Q
Has SRAM, flash RAM, and EEPROM
A
ATMEGA328
3
Q
Meaning of SRAM
A
Static random access memory
4
Q
- holds all variables created
- 2KB or 2,048 bytes
A
SRAM
5
Q
Holds Arduino’s boot loader (500 bytes) & compiled sketch (32,256 bytes)
A
Flash RAM
6
Q
- 32KB or 32,756 bytes
- Initial variable is first stored in this memory and when the program starts running, this stored variable will be copied to the SRAM taking space in both SRAM and flash.
A
Flash RAM
7
Q
EEPROM
A
Electronically programmable read-only memory
8
Q
Stores long term information
A
EEPROM
9
Q
VOLATILE MEMORY
A
SRAM (Static random access memory)
10
Q
NON-VOLATILE MEMORY
A
- Flash RAM
- EEPROM (Electronically Programmable Read-Only Memory)
11
Q
- Group of variables of similar type accessed by a single variable
- Declaring the same type of variable line per line can use up the limited memories of SRAM, so by using arrays you’re not only saving space but also organizing and tidying your sketch.
A
Arrays
12
Q
Declare an array without initializing the pins that you’re going to use.
A
First line
13
Q
- declare an array without defining a size.
- The compiler automatically counts the elements and creates an array of the appropriate size.
A
Second line
14
Q
- initialize and size your array.
- Finally you can declare an array of type char, you just have to add one more element than your initialization required, It is to hold the required null character. (NOT SURE IF HERE OR NEXT LINE)
A
Third line
15
Q
- Loop statement that cycles back and forth through a block of statements until the given condition becomes false.
- Used for repetitive and continuous operations
A
for()