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 9 matches
CCS Forum Index
Author Message
  Topic: Get two numbers from Keypad.
elektronische

Replies: 8
Views: 11332

PostForum: General CCS C Discussion   Posted: Thu Apr 01, 2010 3:31 pm   Subject: Get two numbers from Keypad.
Finally it works! doing this:


do
{
temp=atoi(num);
lcd_gotoxy(8,1);
printf(lcd_putc,"\%i",temp);
}while(num[1]!=0) ...
  Topic: Get two numbers from Keypad.
elektronische

Replies: 8
Views: 11332

PostForum: General CCS C Discussion   Posted: Wed Mar 31, 2010 5:18 pm   Subject: Get two numbers from Keypad.
Shocked
I had completely forgotten that the lcd receives ASCII, that explains many things, the problem is that later I need that temperature value as an integer value, because I compare that value t ...
  Topic: Help with 4x3 Keypad, LCD and PIC16F877A
elektronische

Replies: 9
Views: 30588

PostForum: General CCS C Discussion   Posted: Wed Mar 31, 2010 5:18 pm   Subject: Help with 4x3 Keypad, LCD and PIC16F877A
still not working Sad i have an idea about the basic circuit of pic but its not working

Are you sure that the pins order in the keypad is the correct?
  Topic: Get two numbers from Keypad.
elektronische

Replies: 8
Views: 11332

PostForum: General CCS C Discussion   Posted: Wed Mar 31, 2010 4:28 pm   Subject: Get two numbers from Keypad.
Hi, i'm trying to do that but it don't work Confused



#include <16f877a.h> //PIC utilizado
#fuses XT,NOWDT,NOPROTECT,NOLVP //Configuramos los fuses
#us ...
  Topic: Get two numbers from Keypad.
elektronische

Replies: 8
Views: 11332

PostForum: General CCS C Discussion   Posted: Tue Mar 30, 2010 6:54 pm   Subject: Get two numbers from Keypad.
Look, even now what I am trying to do is something like this:

#include <16f877a.h>
#fuses XT,NOWDT,NOPROTECT,NOLVP
#use delay (clock=4000000) ...
  Topic: Get two numbers from Keypad.
elektronische

Replies: 8
Views: 11332

PostForum: General CCS C Discussion   Posted: Tue Mar 30, 2010 4:36 pm   Subject: Get two numbers from Keypad.
Hi, my problem is I need to get two numbers by reading them from a 4x3 keypad with function kbd_getc (), but it could only get one. I'd like to read two and keep the two numbers as just one in a varia ...
  Topic: Help with 4x3 Keypad, LCD and PIC16F877A
elektronische

Replies: 9
Views: 30588

PostForum: General CCS C Discussion   Posted: Sun Mar 21, 2010 1:54 pm   Subject: Help with 4x3 Keypad, LCD and PIC16F877A
Finally it works !!

Thanks for the clarification about define the Port B.
  Topic: Help with 4x3 Keypad, LCD and PIC16F877A
elektronische

Replies: 9
Views: 30588

PostForum: General CCS C Discussion   Posted: Sat Mar 20, 2010 6:57 pm   Subject: Help with 4x3 Keypad, LCD and PIC16F877A
I did change that, but still doesn't works! any other suggestion? thanks
  Topic: Help with 4x3 Keypad, LCD and PIC16F877A
elektronische

Replies: 9
Views: 30588

PostForum: General CCS C Discussion   Posted: Thu Mar 18, 2010 9:02 pm   Subject: Help with 4x3 Keypad, LCD and PIC16F877A
I have a problem trying to connect a 4x3 keypad to a LCD using a PIC 16F877A. I can't get the data from the keyboard. Accompanied by the code and diagram on ISIS, maybe you can help me.

#include & ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group