Lecture 26: Interfacing with Hardware Flashcards
1
Q
ports
A
- computers used to have things like serial and parallel ports, but slow and rarely exist now
- other ports are available (ethernet, USB, firmware) but more difficult to control and get right
- found in \dev in terminal
2
Q
raspberry pi
A
- embedded hardware- system on a chip
- lots of systems on a chip (SoCs are out there)
- often w/exposed pins, easy to interface
- many can run a full-fledged OS\Linux
3
Q
pins on a breadboard
A
- can access them in a program
4
Q
datasheet/spec sheet
A
- details technical characteristics of a component (document)
- can be hardware or software
- often includes pin diagram, I/O waveforms, timing, functional descriptions, etc.
5
Q
input and output with pins
A
- 000 is input
- 001 is an output
6
Q
RPI.h file
A
- rasperberry pi header
- generates the starting address/get addresses for the pins