![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Haw I write a rutine in MPASM to generate user defined charcters on a alfanumeric LCD, i find a similary example but is write in C++ and i dont undersant..nothing....Can you help me?
|
|
|
|
|
|
|
(permalink) |
|
Hi,
Perhaps you need these: http://winpicprog.co.uk/pic_tutorial3.htm http://winpicprog.co.uk/pic_tutorial_lcd_board.htm
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
I read this tutorial, and he is not what i want
Purpose: - Load a user-defined character definition into the HD44780 character generator memory. Quick explanation on how to implement user-defined characters: First you will need to make a pixel definition for the characters you want to use. Below is the pixel definition for an underlined '0' (char code 0x30) based on a 5x7 dots character definition: | bits | byte row | 76543210 | value ------------------------ 000 | xxx | 0x0E 001 | x x | 0x11 010 | x xx | 0x13 011 | x x x | 0x15 100 | xx x | 0x19 101 | x x | 0x11 110 | xxx | 0x0E 111 | xxxxx | 0x1F |
|
|
|
|
|
|
(permalink) |
|
:P Misunderstood.
I've never tried this, but is the datasheet of HD44780 helpful enough?
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
i need a part of a code to understand how make this with mpasm
|
|
|
|
|
|
|
(permalink) |
|
I think the datasheet states clear enough.
Set DDRAM address, CGRAM address and followed by CGRAM data.
__________________
Superman returns..
|
|
|
|
|
|
|
(permalink) |
|
Read the EPE LCD articles mentioned on my site.
|
|
|
|
|
|
|
(permalink) |
|
i dont understand very good, practicaly can you give me an concrete example?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
this is the problem, idont known how to write this in mpasm
|
|
|
|
|
|
|
(permalink) |
|
If you can't write anything, how do you expect to do anything at all with a PIC?.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
http://www.electronics-lab.com/forum...?topic=12543.0
__________________
Superman returns..
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
Attached is a Oshonsoft Basic program and its asm listing output. You should be able to figure out how defined characters are created and used. Hope this helps. EDITED: its best to download the *.asm to view off line, else there is no formatting!
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 11:22 AM. |
||
|
|
|
|
|
(permalink) |
|
It goes like this,
MOVLW B'01000000' ;USER GRAPHIC 0 CALL COMMAND ;SENT TO LCD AS COMMAND MOVLW B'00000000' ;PIXEL DATA 1 OF 7 CALL DISPLAY ;SENT TO LCD AS DATA Then to actualy print the user graphic MOVLW .0 ;USER GRAPHIC POINTER CALL DISPLAY ;SENT TO LCD AS DATA |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Lcd alfanumeric | ady689 | Micro Controllers | 3 | 3rd October 2007 01:27 AM |
| PIC16F628A LCD problems. | HerbertMunch | Micro Controllers | 17 | 2nd October 2007 09:19 AM |
| LCD Troubles | Kyle-s4h | Micro Controllers | 13 | 11th September 2007 12:30 PM |
| User defined Time period 16f628 | jagrolet | Micro Controllers | 4 | 5th September 2006 07:37 PM |
| An error in pic16f84a, why? | Zener_Diode | Micro Controllers | 6 | 11th April 2004 02:55 AM |