| Voir le sujet précédent :: Voir le sujet suivant |
| Auteur |
Message |
alecrp NOUVEAU

Inscrit le: 12 Jan 2008 Messages: 1
|
Posté le: 12 Jan 2008 14:24 Sujet du message: how to change the code vision lcd library? how to change the code vision lcd library? |
|
|
Hi
i'm soory but i'm italian and so i don't speak franch. If there is someone who speak italian, i can ask in italian.
i must controller a 16*2 lcd with atmega8535 and codevision compiler.
In the codevision lcd library there is this port configuration
[LCD] [AVR Port]
RS (pin4) ------ bit 0
RD (pin 5) ------ bit 1
EN (pin 6) ------ bit 2
DB4 (pin 11) --- bit 4
DB5 (pin 12) --- bit 5
DB6 (pin 13) --- bit 6
DB7 (pin 14) --- bit 7
In my board i have this port configuration
[LCD] [AVR Port]
RS (pin4) ------ bit 6
RD (pin 5) ------ bit 5
EN (pin 6) ------ bit 4
DB4 (pin 11) --- bit 0
DB5 (pin 12) --- bit 1
DB6 (pin 13) --- bit 2
DB7 (pin 14) --- bit 3
How can I change the codevision lcd library to adapt it with my board lcd configuration?
Please help me.
thanks. |
|
| Revenir en haut de page |
|
 |
Eric.c NOUVEAU

Inscrit le: 13 Jan 2008 Messages: 1
|
Posté le: 13 Jan 2008 0:14 Sujet du message: how to change the code vision lcd library? |
|
|
Hello, I'm french
You can find "LCD.H" in C:\cvavreval\inc (by default). You have just to change this file like you want and save it with a other name.
In the compiler you have to include :
| Code: | | #include "C:\my_documents......\LCD_2.H" |
I don't know if it can help you,
Eric |
|
| Revenir en haut de page |
|
 |
|