Pic16f887 with 16x4 lcd

Status
Not open for further replies.

Smint

Newbie level 1
Joined
May 15, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,289
unsigned char *text = " ";
int8 sum_floors,floo......1, fl....2;


LCD_Init();

LCD_CMD(_LCD_CURSOR_OFF);
LCD_CMD(_LCD_CLEAR);
LCD_CMD(132);
LCD_OUT_cp("Welcome...");
delay_ms(2000);
LCD_CMD(_LCD_CLEAR);

LCD_CMD(128);
lcd_out_cp("Available Spaces");
LCD_CMD(192);
lcd_out_cp("All");
LCD_CMD(199);
lcd_out_cp("=");
ByteToStr(6-sum_floors, text);
lcd_out(2,10,text);

LCD_CMD(144);
lcd_out_cp("Floor1 =");
ByteToStr(3-floor1_cars, text);
lcd_out(3,6,"text");

LCD_CMD(208);
lcd_out_cp("Floor2 =");
ByteToStr(3-floor2_cars, text) ;
LCD_CMD(218);
lcd_out_cp(text);


this output

Available spaces
all = (nothing) /// here anyadvice???
floor1 = text
floor2 = (nothing)
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…