ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Суббота
6 июля
174439 Топик полностью
silver (04.12.2009 13:51 - 15.12.2009 18:57, просмотров: 85) ответил koyodza на и то и другое. Там всё есть. Читайте внимательно
Попробовал так   void main(void) { WDTCN = 0xDE; WDTCN = 0xAD; SFRPAGE = CONFIG_PAGE; P3MDOUT = 0xFF; P0MDOUT = 0xFF; XBR2 = 0x40; while (1) {LCD_init();} } void LCD_init() { delay (); LCD_command (0x38); delay (); LCD_command (0x38); delay (); LCD_command (0x38); delay (); LCD_command (0x38); delay (); LCD_command (0x08); delay (); LCD_command (0x01); delay (); LCD_command (0x06); delay (); } void delay (void) { int i; for (i=0;i<30000;i++) {}; } void LCD_command(unsigned char var) { LCD_data = var; //Function set: 2 Line, 8-bit, 5x7 dots LCD_rs = 0; //Selected command register LCD_rw = 0; //We are writing in instruction register LCD_en = 1; //Enable H->L delay (); LCD_en = 0; delay (); //Wait for LCD to process the command } на Ваш взгляд правильно??