Dne Thu, 29 Jan 2009 18:07:27 +0100 solarwind napsal/-a: > On Thu, Jan 29, 2009 at 12:06 PM, solarwind > wrote: >> On Thu, Jan 29, 2009 at 4:25 AM, DVD wrote: >>> Hello, >>> >>> I've got a question about implementing character displaying on LED >>> matrix like 8x5 LEDs, currently in ASM for PIC16F/18F. I'd like drive >>> the matrix by PIC that will receive the character number from USART, >>> load the character pattern and display it. >>> What is the usual way of storing these characters? I can't decide >>> whether it's better to use EEPROM or FLASH and if it's better to load >>> the characters "on the fly" or buffer them from memory and then display >>> them. >>> >>> I know it's a beginner's question, but I don't have anyone else to ask. >>> >>> Thanks for your time, >>> >>> David >> >> Which PIC are you using? This would be tremendously easier if you do >> it in C. Trust me, I know this from experience. In ASM, you would have >> to spend half your time implementing the data in Flash. If your using >> PIC 16, HI-TECH C is all you need. They have a free trial that lasts >> 30 days. Email me if you want for more info on this. If you're using >> PIC 18 or higher, Microchip C is the way to go as you can use the rom >> char type qualifier to automaically write this data to flash and read >> it. So instead of wasting time on the assembler specifics, you can >> actually write the code logic quickly and easily in a high level >> language. I've also got complete working UART code if you want to do >> it in C. >> >> -- >> solarwind > > Whoops. Just noticed that you're using PIC 16 / 18. This can be done > very easily in C. > > > I wrote that I'm writing the program in ASM, but actually I haven't even chosen the PIC. Some time ago I started in ASM as everyone and later tested some C compilers like HITECH, CCS and mikroC, but don't know which one is the 'right' one. Everyone had something good and something bad, so now I have some programs in all of them :), but prefer ASM. As you say I should use C to make my life easier and maybe it's the HITECH's turn again. David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist