Author |
Message |
Topic: Get two numbers from Keypad. |
elektronische
Replies: 8
Views: 11332
|
Forum: 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
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 5:18 pm Subject: Get two numbers from Keypad. |
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
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 5:18 pm Subject: Help with 4x3 Keypad, LCD and PIC16F877A |
still not working 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
|
Forum: 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
#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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 & ... |
|