English 中文(简体)
pic18f communicating with lcd module
原标题:

I m developing on a pic 18Fxxx (18F452) in assembly. I m in a learning phase so I m doing different simple exercise with the final goal to develop a "real" project.

At the moment I m stuck with the LCD Module, I couldn t find any examples of a working protocol to comunicate with the screen (on 4 bit). Can someone please link me some code or a to-be-implemented procedure from which I can understand how all this works?

Thank you.

note: My IDE is MPLAB and I m using PIC18 Simulator IDE to check how my code works.

最佳回答

You can take a look at these links, they cover the topics of LCD, PIC and ASM at diferent levels:

As well I would like to recommend you to move on to C (if you don t need the ASM for something specific). Now it s common to develop for the PIC in C, the compilers are nice and the code is fast, you can learn the ASM and leave it for some "important" routines like interrupt handlers. After if you move to the 16bit or even 32bit pics the C will be a must.

I use the MikroC compiler for PIC from Mikroelektronica and it is working very well. You can find too free tools for C development. As a last point I recommend you to move on to the pic 18F4520, is pin comaptible with the 18F452 but is newer and powerfuller. (the 452 is discontinued i think)

问题回答

暂无回答




相关问题
List of suspected Malicious patterns

I am doing an anti-virus project by disassembling its code and analyzing it. So I want a list of the Suspected Malicious pattern codes, so I can observe which is suspected and which is not? So I want ...

Prefetch for Intel Core 2 Duo

Has anyone had experience using prefetch instructions for the Core 2 Duo processor? I ve been using the (standard?) prefetch set (prefetchnta, prefetcht1, etc) with success for a series of P4 ...

How are mutex and lock structures implemented?

I understand the concept of locks, mutex and other synchronization structures, but how are they implemented? Are they provided by the OS, or are these structures dependent on special CPU instructions ...

Installing GNU Assembler in OSX

No matter how hard I google, I can t seem to find a (relatively) easy-to-follow instruction on how to install the GNU Assembler on a mac. I know I can use gcc -c (Apple Clang on a Mac) to assemble .s ...

8086 assembler,INT 16,2

I got stuck at this thing,I want to see if right shift button has been pressed,so I have this assambler code: mov ah,2 int 16h ;calling INT 16,2 - Read Keyboard Flags interrupt mov ah,...

Translate a FOR to assembler

I need to translate what is commented within the method, to assembler. I have a roughly idea, but can t. Anyone can help me please? Is for an Intel x32 architecture: int secuencia ( int n, ...

热门标签