Micro Controllers Flashcards
What are the Arduino 3 dedicated ports?
Port b, c and d
What are 3 main advantages of the 3 dedicated arduino ports
Memory, speed and control
Port B uses what digital pins
D8 to D13
Port c used what analog pins
A0 to A5
Port D used what digital pins
D0 to D7
What does the DDR register do
Determines whether a pin is to be used as an input or output
What does the port register do
Controls which pins are high or low
What does the pin register do
Reads the logic levels at the ports pins
What can the map function be used for
To remap a number held in a variable or object from one range to another
What movement can servo motors do
Back and fourth, clockwise and anti clockwise
What are the two types of interrupts
External or hardware interrupts or timer and software interrupts
What does VE do on liquid crystal display
Allows control over the contrast of display using bolts between 0-5v
What does rs do on liquid crystal display
Controls where in the memory of the lcd driver you are writing data to
What does RW do in liquid crystal display
Tells LCD driver whether you are writing data to the display or reading data from it
What does E do in a liquid crystal display
This pin enables data to be written to registers