Jun 21, 2015

MAX7219 driven 8-Digit 7-segmen (8051)

In old days we have to multiplex the data using time interrupt to display the right numbers to multi digit seven segment. Now we have MAX7219 to do the multiplexing job, mcu is freed from that job and we can use timer interrupt for other purpose. Mcu will access the display only when changing something similar way to controlling a LCD.








You can get example code here:
https://drive.google.com/file/d/0Bz15eKH_erJrTHFfS1FIRGw5WE0/view?usp=sharing
What the program does are:
- Init the seven segment
- Clear it
- Display infinite count of an integer.

No comments:

Post a Comment

MAX7219 8-digits 7-segment (STM32F103C8T6)

I made MAX7219 for C51 but now I need it for STM32F103 too. The wiring is simple: MAX7219_CLK   hooked up to PORTA0, MAX7219_...