|
void Write2IR(Data)
{
Wait(2);
dE=OUT;
dRS=OUT;
pE=0;
pRS=0;
dDATA=0xff;
pDATA=(Data>>4)&0x0f;
pE=1;
__no_operation();
pE=0;
pDATA=Data&0x0f;
pE=1;
__no_operation();
pE=0;
}
Ну и сообщение компилятора:
Compiling file lcd.c...
lcd.c
ICCAVR: --cpu=m8535 -mt -o C:\MyProjects\Vova\STAND.II\AVR\IAR\stand.II\Debug\Obj\ -I C:\PROGRAM FILES\IAR SYSTEMS\EW23 EVALUATION VERSION\avr\SRC\CLIB\INC\ -lC C:\MyProjects\Vova\STAND.II\AVR\IAR\stand.II\Debug\List\ -e --initializers_in_flash -z9 --no_cse --no_inline --no_code_motion --no_cross_call --no_clustering --debug C:\MyProjects\Vova\STAND.II\AVR\IAR\stand.II\lcd.c
IAR Atmel AVR C/EC++ Compiler V2.28A/WIN, Evaluation Version
Copyright 1996-2002 IAR Systems. All rights reserved.
198 bytes of CODE memory
0 bytes of DATA memory (+ 6 bytes shared)
Errors: none
Warnings: none
Total number of errors: 0
Total number of warnings: 0
E-mail: info@telesys.ru