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 10 matches
CCS Forum Index
Author Message
  Topic: LCD Driver
steppermotor

Replies: 1
Views: 3994

PostForum: General CCS C Discussion   Posted: Sat Nov 27, 2010 10:41 pm   Subject: LCD Driver
Anyone know which LCD driver to use for:

http://www.lumex.com/specs/LCM-S01602DTR%20M.pdf

I'm use the PIC 16f877a

Thanks
  Topic: RS-232
steppermotor

Replies: 8
Views: 9580

PostForum: General CCS C Discussion   Posted: Sat Nov 27, 2010 10:13 pm   Subject: RS-232
Hello All,

I'm a bit desperate right now, could anyone point me to simple C code for sending and receiving rs-232 on a PIC16f877a.

Thanks.
  Topic: Recurison on a PIC16F877A
steppermotor

Replies: 1
Views: 4501

PostForum: General CCS C Discussion   Posted: Sun Nov 14, 2010 1:31 am   Subject: Recurison on a PIC16F877A
I tried to re-call a function. It told me recursion is not permitted any ideas?

With prototype headers

void start();
void end();
void main();

void start()
...
  Topic: Reading a Digital input
steppermotor

Replies: 2
Views: 4482

PostForum: General CCS C Discussion   Posted: Wed Nov 10, 2010 11:37 pm   Subject: Reading a Digital input
I have a PIC16F877A, I want to read the digital input D0-D7 coming in from a separate adc chip. I know I can set the port C of the pic to be an input by:

SET_TRIS_C(0x00);

However, how do I tran ...
  Topic: 4 x 4 keyboard matrix
steppermotor

Replies: 2
Views: 4294

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 6:35 pm   Subject: 4 x 4 keyboard matrix
I'm trying to interface a 4x4 keyboard matrix to a PIC16F877A, I was wondering does anyone know which pins on this keypad are the row and which are the columns the data sheet is unclear about this.
...
  Topic: PIC 16F877A LCD with ADC
steppermotor

Replies: 5
Views: 17978

PostForum: General CCS C Discussion   Posted: Thu Oct 28, 2010 9:41 pm   Subject: Got it again
I changed:

while(1)
{
set_adc_channel(0);
delay_us(20);
voltage=read_adc();
con_voltage2 = voltage * (5.0/1023.0);
...
  Topic: PIC 16F877A LCD with ADC
steppermotor

Replies: 5
Views: 17978

PostForum: General CCS C Discussion   Posted: Thu Oct 28, 2010 9:12 pm   Subject: One more problem
When I have a 5V input on my PIC 16F877A ADC AN0 Port is outputs:

1023 on the LCD which I know is the correct value, but when I attempt to multiply by 5/1023 and this does not gives me a result of ...
  Topic: PIC 16F877A LCD with ADC
steppermotor

Replies: 5
Views: 17978

PostForum: General CCS C Discussion   Posted: Thu Oct 28, 2010 8:43 pm   Subject: Got it working
Thanks, but I got it working.

I modified to the following:

while(1)
{
set_adc_channel(0);
delay_us(20);
voltage=read_adc();
...
  Topic: PIC 16F877A LCD with ADC
steppermotor

Replies: 5
Views: 17978

PostForum: General CCS C Discussion   Posted: Thu Oct 28, 2010 8:33 pm   Subject: Re:LCD W ADC
Thanks, Vinnie for your reply, I made the following modifications. The output is just 000000, even when I have plugged the RA0 to 5 V.

void measure_voltage()
{
//char txt[20] ...
  Topic: PIC 16F877A LCD with ADC
steppermotor

Replies: 5
Views: 17978

PostForum: General CCS C Discussion   Posted: Thu Oct 28, 2010 7:33 pm   Subject: PIC 16F877A LCD with ADC
I'm new to the world of PIC. I've got my LCD working, but I'm trying to display the voltage I that is read in by the PICs ADC port. I'm using the PIC 16F877A, here is sections of my code. However it k ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group