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.
how to change the code vision lcd library?
Modérateur : Modérateur
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 :
I don't know if it can help you,
Eric
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 : Tout sélectionner
#include "C:\my_documents......\LCD_2.H"
I don't know if it can help you,
Eric