ST7066U et 'busy flag'

0x30 0x30 (deux fois, les programmes dans la doc envoient cette commande 0x0F (BF OK) 0x01 (BF OK) 0x06 (BF OK) 0x80 (BF NOK)

0x80.

Mon code fait actuellement cela :

_delay_ms(100); lcd_send_byte(0x30, LCD_CMD); // 1-line (0x00 to 0x4F) _delay_us(100); lcd_send_byte(0x30, LCD_CMD); // 1-line (0x00 to 0x4F) _delay_us(100);

lcd_send_byte(0x0F, LCD_CMD); // Control lcd_send_byte(0x01, LCD_CMD); // Clear lcd_send_byte(0x06, LCD_CMD); // Mode

led_toggle(&i_led[i_comm_tx]); lcd_send_byte(0x80, LCD_CMD);

Reply to
JKB
Loading thread data ...

Il faut toujours poster pour trouver l'erreur.

byte = PINA;

JKB

--
Si votre demande me parvient en code 29, je vous titiouillerai volontiers
Reply to
JKB

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.