logbook
Electrical
- Sep 8, 2003
- 764
I just bought this PICDEM2+ demo board. £56 from RS components. Wonderful little thing with all sorts of goodies. Run up the pre-programmed demo code and it does lots of good things. Then comes the hard bit. The demo code is in assembler, and lots of it. Hundred of lines of code per file.
Of course I have the Microchip C18 compiler with precious few examples. What a pain! I managed to get the I/O pins to toggle and input and make the buzzer beep. It has been a struggle but I finally got to the other side of the “adventure game” they call manuals (the 18F4520 data sheet is 390 pages alone).
Now I can get the display to display 8 alpha-numeric characters, but then it hangs. Writing 7 characters is fine. (I have recompiled all the XLCD functions as required.)
The LCD type written in the manual doesn’t seem to have a data sheet on the web. The display is 2x16 lines and the hardware is clearly working since the assembler code works.
Any clues?
Of course I have the Microchip C18 compiler with precious few examples. What a pain! I managed to get the I/O pins to toggle and input and make the buzzer beep. It has been a struggle but I finally got to the other side of the “adventure game” they call manuals (the 18F4520 data sheet is 390 pages alone).
Now I can get the display to display 8 alpha-numeric characters, but then it hangs. Writing 7 characters is fine. (I have recompiled all the XLCD functions as required.)
The LCD type written in the manual doesn’t seem to have a data sheet on the web. The display is 2x16 lines and the hardware is clearly working since the assembler code works.
Any clues?