It uses just one MAX7219 serial input/output common-cathode display drivers and 3 ports.
MAX7219 can refresh leds leving more resources to microcontroller.
This library uses MAX7219 without the need of SPI. User can setup scan limit and intensity setup.
Multiple led matrix can be attached.
With simple functions, it gives your the ability to:
- power on / off a single led
- setup a selected row
- setup an 8x8 matrix
Code
Notes
- read risk disclaimer
- excuse my bad english
Great job , it works. Can you help me how to define function
ReplyDeleteledmatrix7219d88_setcol
it will set upright diodes in colums.
eg. 0b11111111 will light up 1st column ?
i tried to display moving text in 2 led displays.
Thanks!
Hello, it's a few that i do not look at this library, anyway, you can simply use the ledmatrix7219d88_setled function, but if you are trying to reduce the number of operation involved, i think you have to tweek around the max7219 library to.
DeleteWhich program did you use for your schematics file? I can't open it and the image makes no sense compared to other images online. I tried to run the code at it's not working the same as in the video. My wiring must be different since I do not have the matrix + chip module for the led display.
ReplyDeleteHello, it's EagleCAD.
DeleteThanks! I'm just having a hard time getting it to work. Everything should be wired properly but all it does is turn all LEDs on then off instead of a fancy loop.
DeleteHello, you can check it with a scope, or a logic analizer, what's going on over the bus. Then you will understand why this is not going. Or you can use uart as a debug output interface, sending to your terminal register status, or any kind of debug messages that may help you.
DeleteThis is not working.I checked this through the Proteus simulator as in the schematic and programmed it in the Winavr programmers notepad.But nothing works.And tried it on Atmega32 and Atmega8 both.Can you please help me regarding this.
ReplyDeleteIn the program it has called the interrupt header but haven't called a interrupt in the program.
Are the pins connected in the schematic are correct?
Hello, this works for me as you can see for ATmega8 on presold MAX7219 matrix led board. I've also test it on clean MAX7219 and leds. Unluckly i do not use Proteus. You can check your micro to MAX7219 bus using a logic analizer, to assure that the output is working.
Deletei cant make a hex file,can u send me hex,to kushan.walakulu@gmail.com
ReplyDeleteHello, you've got mail.
Deletefor the max7219 is it possible use it only with i2c?
ReplyDeleteHello, no, but by datasheet the MAX7221, which is similar to the MAX7219 is compatible with SPI, QSPI, and MICROWIRE.
Deletecan i use this to hack carpark systems and show text message on the parking autopay machine
ReplyDeleteHello, this is simply a library to drive 8x8 matrix led. You can use to show text message, yes.
DeleteHello, I'm facing some authentication problem while downloading the library from sourceforge.Could you share it on github or google drive please.
ReplyDeleteHello, you can find it there: https://expirebox.com/download/9902e68901d7968cf2c36cd5a521fe6a.html Link expires in 2 days
DeleteThanks a lot!
Deletemoving text, can u send me source c & hex,to ihsanwidodo44@gmail.com
ReplyDeletedot matrix p10 panel, code vision, atmega16.
Hello,
Deleteyou've got mail.
I used the library with Atmega32 along with one LED breakout board,
ReplyDeleteThe led blinking works for only two cloumns rest of the 6 columns wont blink, but it takes the time required to blink other 6 columns then repeats blinking the two columns. can you give me any hint why is it so?
Hello, it may be the wiring, double check it.
DeleteCan you send me the hex file. vishvajayasanka@gmail.com
ReplyDeleteHello vishva. You've got mail.
DeleteHey, how do i do the pin out for the atmega328p? and, does it work for the microcontroller?
ReplyDeleteHello, yes it works, indeed I've also use this code on ATm2ga328. It will be easy the porting. Just look at the code and made appropriate changes, but it's something you have to do, I can not do this for you.
Delete