RadioLocman.com Electronics ru
Advanced Search +
  
Go Back   RadioLocman Forum > Electronics and ... > Microcontrollers (MCU)

Microcontrollers (MCU) Application and programming of MCUs, Evaluation Kits and Demonstration Boards, Programmers.

Reply
 
Thread Tools Search this Thread
Old 02-29-2016, 08:57 PM   #1
Momoatomic
Junior Member
 
Join Date: Feb 2016
Posts: 7
Momoatomic is on a distinguished road
Default LCD 16x2 LCD display problem PIC 16f887

I'm using mikroC PRO for PIC and Proteus 8.
here's the header and source files and the circuit

My code works perfectly when i comment these 6 lines in programme.c (from line 93 to line 98):
Lcd_Out(1,2,"OPERATION");
Lcd_Out(2,8,"ACHIVED");
Delay_ms(5000);
Lcd_Cmd(_LCD_CLEAR);
Lcd_Out(1,2,"Press START to");
Lcd_Out(2,5,"continue");

Otherwise the display of the whole previous part goes wrong.
I tried everything and I can't find a solution.
Momoatomic is offline   Reply With Quote
Old 03-04-2016, 10:01 AM   #2
Momoatomic
Junior Member
 
Join Date: Feb 2016
Posts: 7
Momoatomic is on a distinguished road
Default

I solved it by adding Lcd_Init(); before the commented part
Momoatomic is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lcd screen duplication mark Electronic Components 2 12-26-2015 09:36 AM
16 Bit LCD programming Anatoly Microcontrollers (MCU) 1 12-10-2015 04:28 PM
Identify LCD TFT17 symbol Electronic Components 1 11-12-2013 06:12 PM
Discussion: RDS Decoder with 2 x 16 LCD for AT90S2313-10 Radiolocman Robot Microcontrollers (MCU) 2 06-28-2012 01:21 AM
Discussion: Nokia 3310 Lcd Thermometer Using DS18B20 Radiolocman Robot Microcontrollers (MCU) 2 06-29-2011 08:15 PM

All times are GMT. The time now is 03:37 PM.




Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Slices ↓
Radiolocman facebook Radiolocman twitter Radiolocman google plus