Dne Thu, 29 Jan 2009 18:06:48 +0100 solarwind napsal/-a: > 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. > If you've already done something similar, I'd like to have a look at it to pick up some ideas and inspiration, especially about the FLASH table reads and writes. I'll start with some 16F PIC and HITECH C for PIC10/12/16 MCU family. David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist