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 24 matches
CCS Forum Index
Author Message
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Wed Apr 14, 2010 10:26 am   Subject: LCD test source code?
MikeP,

I tried your code and saw the only difference is how we write the while loop that basically does the same thing.

I have good news in that I use an USB interface to flash the HEX file unto ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Tue Apr 13, 2010 10:49 am   Subject: LCD test source code?
I made the changes you suggested and here is what it looks like now, but still just blink random address in LCD.

#include <16F877A.h>

//#device ICD=TRUE
#device ADC=10

#fuses HS,NOWDT, ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Tue Apr 13, 2010 8:23 am   Subject: LCD test source code?
Yes, I tried different clocks to see if timing was an issue, but I have a 20MHz crystal in my setup.

Again, the code was copied and pasted into the compiler from this site, so comments are what the ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Mon Apr 12, 2010 1:46 pm   Subject: LCD test source code?
I'm using a PIC 16F877A TQFP package;

LCD pin 1 (Vss) ground
LCD pin 2 (Vdd) 5V
LCD pin 3 (V0) has 0.50 volts
LCD pin 4 (RS) goes to PIC pin 40 (D2)
LCD pin 5 (R/W) goes to PIC pin 41 (D3)
LCD ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Mon Apr 12, 2010 9:07 am   Subject: LCD test source code?
First I will address whats on Vo, it has a 5K pot to adj the contrast to LCD.

Here's the code I copied. Note the flex code has "B" in it because I made 2 versions. This code just has li ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Fri Apr 09, 2010 1:35 pm   Subject: LCD test source code?
Yeah, those are the same as my data sheet on the LCD and I have more than double checked them to make sure.
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Fri Apr 09, 2010 6:16 am   Subject: LCD test source code?
Sorry, I must have dyslexia because the version I have is 3.249 not 2.3 as previously mentioned. Your code compiles with no problems, I just have to place all the includes in the same folder to be ab ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Thu Apr 08, 2010 1:17 pm   Subject: LCD test source code?
The pinouts are:
1 Vss
2 Vdd
3 Vo
4 RS
5 R/W
6 E
7-14 data
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Thu Apr 08, 2010 1:15 pm   Subject: LCD test source code?
I'm using a Goldentek GC2004A0SHN1B
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Thu Apr 08, 2010 1:00 pm   Subject: LCD test source code?
I read through the sticky regarding the lcd420 driver & code and found you wrote a couple of each and tried them all with no luck. I have even tried grounding the WR lead and still get rows 2 &am ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Thu Apr 08, 2010 10:09 am   Subject: LCD test source code?
Yes, I just found the 'search area' once I submitted the post. I was looking for a small "hello World" test for each line of the LCD and didn't want to write something if its been done a 10 ...
  Topic: LCD test source code?
fushion3

Replies: 24
Views: 22815

PostForum: General CCS C Discussion   Posted: Thu Apr 08, 2010 9:46 am   Subject: LCD test source code?
I'm sure this has been done many times, but I can't find a search function on the site, so I'll ask for any LCD test source code for an 16F877A using a 4X20 LCD. Thanks in advance!
  Topic: Seek low Freq PWM help for PIC16F877A @ 20MHz
fushion3

Replies: 21
Views: 25360

PostForum: General CCS C Discussion   Posted: Fri Oct 06, 2006 11:07 am   Subject: Seek low Freq PWM help for PIC16F877A @ 20MHz
For future reference how does one place the code in the code box, I tried and obviously it didn't work and didn't find how to do so using forum help or FAQ.
  Topic: Seek low Freq PWM help for PIC16F877A @ 20MHz
fushion3

Replies: 21
Views: 25360

PostForum: General CCS C Discussion   Posted: Fri Oct 06, 2006 10:06 am   Subject: Seek low Freq PWM help for PIC16F877A @ 20MHz
Thanks PCM,

I made minor changes to your code so I could use my bluetooth and it works beautifully! Could you explain why it didn't work incrementally with each pass of the while loop and why it d ...
  Topic: Seek low Freq PWM help for PIC16F877A @ 20MHz
fushion3

Replies: 21
Views: 25360

PostForum: General CCS C Discussion   Posted: Thu Oct 05, 2006 12:18 pm   Subject: Seek low Freq PWM help for PIC16F877A @ 20MHz
Here is a follow-up question regarding the code & compiler. Below is the code that I have atempted to make the "width" change, but it is set to 10 and stays at that value, does any one ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group