Summary
Chapter 7 introduced you to some pretty complex subjects, including the use of external ICs. You are not even half way through the projects yet and you already know how to control a dot matrix display using both shift registers and a dedicated LED driver IC. Also, you learned how to coding things the hard way and then how to code the easy way by incorporating a ready-made library designed for your LED Driver IC.
You have also learned the sometimes-baffling concept of multiplexing, a skill that will come in very handy for many other things as well as dot matrix displays.
Subjects and concepts covered in Chapter 7 :
How a dot matrix display is wired up
How to install an external library
The concept of multiplexing (or muxing)
How to use multiplexing to turn on 64 LEDs individually using just 16 output pins
The basic concept of timers
How to use the TimerOne library to activate code no matter what else is going on
How to include external libraries in your code using the #include directive
How to use binary numbers to store LED images
How to invert a binary number using a bitwise NOT ~
How to take advantage of persistence of vision to trick the eye
How to store animation frames in multidimensional arrays
How to declare and initialize a multidimensional array
Accessing data in a specific element in a two dimensional array
How to do a bitwise rotation (aka circular shift)
How to control LED dot matrix displays using shift registers
How to control LED dot matrix displays using MAX7219 ICs
How to time pulses correctly to load data in and out of external ICs
How to store a character font in a two dimensional array
How to read timing diagrams from datasheets
How to use the registers in the MAX7219
How to bypass the SRAM limits and store data in program space
How to reverse the order of bits
How to make text and other symbols scroll across a dot matrix display
The concept of the ASCII character table
Choosing a character from its ASCII code
How to find out the length of a text string
How to write to and read from program space
How to obtain the address in memory of a variable using the & symbol
How to use the LedControl.h library to control individual LEDs and rows of LEDs
How to use the logical operators
How to make life easier and code development faster using code libraries
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.