Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - The development board of ly-5 1s model single chip microcomputer 1602 manufactured by Shanghai Langyi Electronic Technology cannot be displayed after burning the program. Why?
The development board of ly-5 1s model single chip microcomputer 1602 manufactured by Shanghai Langyi Electronic Technology cannot be displayed after burning the program. Why?
See if there is anything wrong with your settings. Check the road more! Are you sure this program has been burned? No, just write an initialization yourself! Void init() // initialization

{

Dura = 0;

wela = 0;

LC den = 0;

write _ com(0x 38); //Set 16*2 display, 5*7 dot matrix and 8-bit data interface.

write _ com(0x0e); //Turn on the display without displaying the cursor.

write _ com(0x 06); //Add 1 to the address pointer after writing a character.

write _ com(0x 0 1); //Clear the display and data pointer.

write _ com(0x 80+0x 10);

} Give you an initialization.