Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top