CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 21 matches
CCS Forum Index
Author Message
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Tue Jun 17, 2014 6:17 am   Subject: re:
I am able to vary the contrast of LCD, when i fully adjust 2 rows of black squares coming. I increased the delay also. I think problem arises due to some ground connection. I will post the picture of ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Tue Jun 17, 2014 1:37 am   Subject: RE:
Mad
i tried out all the changes said by u people,but again simple black squares are only repeatedly seen.

#include <16F877a.h>
#fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP
#use delay( ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Mon Jun 16, 2014 7:18 am   Subject: RE:
Ok i will do that too and will say the result. I removed the RW connection from D2 and given to ground and i have commented the respective pin define also.
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Mon Jun 16, 2014 2:14 am   Subject: still not working, i am blank to do anything..

#include <16F877a.h>
#fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP
#use delay(clock=20000000)

#include <Flex_lcd.c>

void main()
{
While(1)
...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 7:21 am   Subject: re:
can anybody confirm that LCD Enable is made high or not in this driver which i copied from code library?

// These pins are for the Microchip PicDem2-Plus board,
// which is what I used to test th ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 7:15 am   Subject: RE:
i rewired the circuit guessing any voltage drop such that lcd is given 5V directly,i measured the PIC VCC also 5.6V,and LED is glowing which is connected to 34th pin.LCD displays nothing.
I measured ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 5:53 am   Subject: still no change,any change needed?
i downloaded flex_lcd.c,and made pin changes according to my connection,should i change anything else?


I have one doubt when i measured the VDD voltage of LCD it is about 3.2V,will it drive LCD? ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 1:45 am   Subject: RE:
OK thank you ,i will try and come.
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 1:09 am   Subject: RE:
i have changed my code in this format for ur suggestion,moreover i confirmed that my controller is running by making the LED high.
Even after changing i could not see anything.

#include <16F877 ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Fri Jun 13, 2014 1:02 am   Subject: RE
Dear telmah ,

i don't have flex_lcd driver in my compiler,i only have lcd.c,so took this.

I have connected the V0 Pin of LCD to 5K pot .Even by adjusting it i couldn't see anything.
The LCD ia ...
  Topic: how the LCD connections to be done,if i include LCD.c in CCS
e-learner

Replies: 25
Views: 21508

PostForum: General CCS C Discussion   Posted: Thu Jun 12, 2014 11:49 pm   Subject: how the LCD connections to be done,if i include LCD.c in CCS
how the LCD connections to be done,if i include LCD.c in CCs compiler for write or display function.


i connected as,


#include <16F877a.h>
#fuses HS,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP ...
  Topic: led is off,programming successful...help pls..
e-learner

Replies: 12
Views: 12047

PostForum: General CCS C Discussion   Posted: Wed Jun 11, 2014 10:58 pm   Subject: RE:
Thanks for all your reply.

got the problem solved,

same silly mistake as most of them do, missed HS declaration in fuse instead i put XT for 20 MHz crystal...... Wink
  Topic: led is off,programming successful...help pls..
e-learner

Replies: 12
Views: 12047

PostForum: General CCS C Discussion   Posted: Wed Jun 11, 2014 12:43 pm   Subject: RE
I understand what u people are saying,but the image shows my realtime connection in bread board,moreover the problem is, the controller is not in run mode even after all the connections basically need ...
  Topic: led is off,programming successful...help pls..
e-learner

Replies: 12
Views: 12047

PostForum: General CCS C Discussion   Posted: Wed Jun 11, 2014 7:31 am   Subject: RE:
link below for my connection image.
http://s28.postimg.org/45tnjodot/connection.jpg
  Topic: led is off,programming successful...help pls..
e-learner

Replies: 12
Views: 12047

PostForum: General CCS C Discussion   Posted: Wed Jun 11, 2014 6:59 am   Subject: led is off,programming successful...help pls..
I tried to on/off LED for checking my hardware, but 16F877a programming is successful but my LED is off.

#include <16F877A.H>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group