Author |
Message |
Topic: problem in read and write smart card with using PIC16F887 |
EricKoh1985
Replies: 4
Views: 7877
|
Forum: General CCS C Discussion Posted: Thu May 08, 2008 11:09 am Subject: problem in read and write smart card with using PIC16F887 |
i have a problem in read and write smart card with using PIC16F887 chip.
My smart card model is ST14C02C.
The datasheet can be find at http://www.datasheetcatalog.com/datasheets_pdf/S/T/1/4/ST14C02 ... |
Topic: RA4 can't turn ON/High for PIC16F628A |
EricKoh1985
Replies: 4
Views: 7662
|
Forum: General CCS C Discussion Posted: Thu May 01, 2008 11:15 am Subject: RA4 can't turn ON/High for PIC16F628A |
RA4 is open drain, you will need to pull it up.
i connect 5V supply to a 1k resistor then series connection to LED. Another end of LED is connect to RA4.
Thanks for your advice. My problem solve ... |
Topic: RA4 can't turn ON/High for PIC16F628A |
EricKoh1985
Replies: 4
Views: 7662
|
Forum: General CCS C Discussion Posted: Thu May 01, 2008 7:03 am Subject: RA4 can't turn ON/High for PIC16F628A |
i have a problem of turing ON/High RA4 for PIC16F628A. RA4 pin is always at Low or 0V.
As i know, this pin (RB4) also can function as T0CKI and CMP2.
i think the problem might be due to by default t ... |
Topic: Problem in using "fgets()" for UART |
EricKoh1985
Replies: 3
Views: 7472
|
Forum: General CCS C Discussion Posted: Sun Mar 16, 2008 10:02 am Subject: Problem in using "fgets()" for UART |
Since my LED will only turn ON when password is '1111'. So, is it i need to replace 'password' with '1111'?
i have modified the code, as below
#include <16F628A.h>
#fuses XT, NOWDT, NOP ... |
Topic: Problem in using "fgets()" for UART |
EricKoh1985
Replies: 3
Views: 7472
|
Forum: General CCS C Discussion Posted: Fri Mar 14, 2008 3:57 am Subject: Problem in using "fgets()" for UART |
Here, i would like to do a password system to turn ON RB0's LED. For example, the password is "1111".
My problem is i don't know how to use "fgets()" for UART.
Below is my code ( ... |
Topic: Simple source code problem for PIC16F628A |
EricKoh1985
Replies: 10
Views: 11196
|
Forum: General CCS C Discussion Posted: Sun Mar 09, 2008 11:12 am Subject: Simple source code problem for PIC16F628A |
Thanks for all of your information.
With using the code given by Ttelmah, my circuit is able to function well.
Thanks. |
Topic: Simple source code problem for PIC16F628A |
EricKoh1985
Replies: 10
Views: 11196
|
Forum: General CCS C Discussion Posted: Mon Mar 03, 2008 10:03 am Subject: Simple source code problem for PIC16F628A |
Sorry,this is the link
Link: http://www.imagehosting.com/show.php/1610469_16f628.JPG.html |
Topic: Simple source code problem for PIC16F628A |
EricKoh1985
Replies: 10
Views: 11196
|
Forum: General CCS C Discussion Posted: Mon Mar 03, 2008 8:23 am Subject: Simple source code problem for PIC16F628A |
i face another problems again.
my picture link is: http://www.imagehosting.com/show.php...6f628.JPG.html
this is my code:
#include <16F628A.h>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PU ... |
|