ST7066U et 'busy flag'

Jan 21, 2021 1 Replies
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);


Il faut toujours poster pour trouver l'erreur.

byte = PINA;

JKB

Si votre demande me parvient en code 29, je vous titiouillerai volontiers

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required