I have a common anode bi-color led matrix with 24 pins and want to drive two of these using one microcontroller . So I decided to try Max7219 driver for that. But being a novice I'm having a hard time figuring out what to do and the online resources seem to be centered around arduino. I did find a library developed by Davide Gironi. But it seems to be working with a common cathode matrix. So I changed the rows to columns to adapt with the common anode structure but with no luck. Can you please give me some clues to where to look for the solution?
Driving a bi-color 8*8 led matri with Max7219 and Atmega 16 or similar microcontroller
540 Views Asked by Shahad Ishraq At
1
There are 1 best solutions below
Related Questions in MICROCONTROLLER
- HOW to connect my UPS with my android device
- What is the difference between USB host VS USB OTG support when it comes to Microcontrollers?
- STM32F4 Handling peripheral error while making a DMA Transfer (RX)
- USB Full Speed polling interval
- Which is better? int8_t vs int32_t in 32 bits MCU
- Detecting EEPROM data and address bus short circuit
- Incrementing an int in a C code for microcontroller only moves the LSB
- Using SD card as external storage for Beaglebone Black
- arm-none-eabi-ld: section .ARM.exidx overlaps section .data
- FT801 chip id error on Arduino
- lpc17xx frequency detection of square wave using polling
- How to debug C program on microcontroller
- Char array of array values to pointer array
- Embedded software program block, I2C?
- Reset vector not working though RCHW is loaded with start address in MPC5777M?
Related Questions in AVR
- saving an array in EEPROM
- How to call multiple slaves for Spi data transmission?
- Changing just one byte in SD card sector
- is it possible compare a 16-bit value with a 8-bit compare match ISR
- UART RX Interrurpt fired too early
- Making a member function static makes the program fail to compile. Can't figure out why
- Arduino Programming Without Arduino Libraries - Atmel Studio
- SPI with Atmega32 and At42QT2100
- XMega: CDC on USB composite controller does not function properly
- How to build avr-gcc using android NDK
- PySerial dataSend doesn't receive data
- Efficient bit checking in embedded C Program
- Issue sending c char* over USART
- What is the efficient way of parsing string on embedded system?
- Controlling 3 stepper to move on xyz direction
Related Questions in ATMEGA16
- ATmega16 ADC Code not working
- how to send sms from gsm sim900d to mobile
- To count number of pulses in avr between some elapsed time and display it
- How to convert Char into Float
- #define PORTX.x in Avr Studio 5 (ATmega16)
- Simple avr program behaving weirdly "sometimes"
- Software PWM on AVR using delay
- How to define variables that share the same ram area in avr studio 7?
- ATMEGA16U2 Serial Communication
- read multiple bytes from rs232 to uart (avr atmega16)
- Why doesn't my LED turn on when a certain distance is measured? Atmega328p and ultrasonic HC-SR04 sensor
- AtMega16 LED cube
- Rust: build for atmega16
- Driving a bi-color 8*8 led matri with Max7219 and Atmega 16 or similar microcontroller
- arduino as isp and to burn atmega16 using avrdude compiler
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'd try to light up a single led first, then a row and column without the library. Once you have a good understanding how it works you can either write a library yourself or adapt the low level driver firmware in the library you're using. Once you've got working code, you can debug the library until it works.
Here's some pseudo code. I'm not very familiar with the exact functions of Atmega 16 but I'm sure you're able to to replace the delay and port configuration with the proper code.