Heeft iemand ervaring met de MAX7221
Ik heb een board met verschillende MAX7221 die in cascade gekoppeld zijn.
Deze max7221 is weer aangesloten op 5x7 dot matrix displays
Hoe kan ik de max7221 aansturen zodat ik loopkrant kan krijgen?
RES
RES
Je kan de SPI functie gebruiken van een microcontroller of zelf een serieel stukje code schrijven.
Op Maxim staat een applicatie.
http://www.maxim-ic.com/appnotes.cfm/appnote_number/3729/ln/en
Dit is dan voor een MAX6951, maar zal niet al te veel verschil in zitten in al die ICtjes.
Hier een korte beschrijving.
MAX6951 SPI interface initialization.
In hexadecimal decode mode, the writing and displaying of 0, 1, 2, ..., A, B, C, D, E, F and 8 decimals (i.e., lighting all LED segments) to both the P0 plane and P1 plane of all the digits on the MAX6951.
In no-decode mode, the writing and displaying of the above letters and other recognizable letters such as H, L, P, Q, Y, etc., with custom built-in fonts.
LED dimming loop. This loop shows how to write to the MAX6951 intensity register to test the digital brightness control.
Scan limit loop. This loop displays from one to eight digits with the same intensity settings.
Note: monitor the process to ensure that the brightness decreases when the scan limit increases.
Blinking loop, This loop writes a different digit number to plane P0 and plane P1 of every digit. It also uses a fast blinking mode to demonstrate segment-blinking control that can be synchronized across multiple LED drivers.
Scrolling loop, This loop scrolls a text message, HELLO, from left to right and right to left.
Bouncing loop, This loop bounces HELLO between the two LED edges.
The counting loop. This last loop shows, in both hexadecimal decode mode and no-decode mode, how to design a display that counts how many milliseconds have elapsed.