Author |
Message |
Topic: Problem in implementation of flex_kbd.c |
Andask
Replies: 1
Views: 5900
|
Forum: General CCS C Discussion Posted: Tue Oct 27, 2009 3:58 pm Subject: Problem in implementation of flex_kbd.c |
I'm new in this branch of programming and have tried to develop a function that would work more or less as follows.
This would read an array of keys using the library flex_kbd.c
The value could ... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Tue Oct 13, 2009 3:35 pm Subject: Problem with 877A and CCS. |
I make a code to test the connection, with some leds, and it look ok for me..
Tomorrow I will check the disassembly list to try to find the errors..
Do you think it can be a wrong (or a not done ... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Tue Oct 13, 2009 3:11 pm Subject: Problem with 877A and CCS. |
I check the voltage directly in the pin.. x) |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Tue Oct 13, 2009 1:00 pm Subject: Problem with 877A and CCS. |
I checked that error, now my code is looking like this:
#include <16f877a.h>
#fuses XT,NOWDT,PUT,NOBROWNOUT,NOLVP
#use delay(clock=4000000)
#include "flex_lcd.c"
#incl ... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Tue Oct 13, 2009 10:32 am Subject: Problem with 877A and CCS. |
Hmm. ok.
I've tried with this, flex_lcd.c and kbd.c.
I din't found the flex_kbd.c só I used the kcd.c provided by the CCS installer.
I have any success too.
Take a look in the simulation:
h ... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2009 6:50 pm Subject: Problem with 877A and CCS. |
Hmm..
I will try it tomorrow.
Do you think can have something wrong in "my' libs? hm.  |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2009 6:40 pm Subject: Problem with 877A and CCS. |
I've tried this, the problems still alive.. xD
But I don't remember the value of the resistors, I think it was 4.7K..
I can try with 10K ohms tomorrow... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2009 6:36 pm Subject: Problem with 877A and CCS. |
Hmmm.. Right..
The ICD are not connected when I run the program. |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2009 2:16 pm Subject: Problem with 877A and CCS. |
The display flashes the figures "254" and "255", it would be normal even if I had pressed any key, but this occurs even with the keyboard off.
And when the keyboard was on, and ... |
Topic: Problem with 877A and CCS. |
Andask
Replies: 15
Views: 26731
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2009 2:00 pm Subject: Problem with 877A and CCS. |
First of all, sorry for my reaaally poor english... =/
I'm having some problems with software that I'm doing ...
I entered this little code for tests, when I simulate the Proteus and MPLAB, eve ... |
|