Author |
Message |
Topic: 7-segment driver(TPIC6B595N) |
new2ccs
Replies: 2
Views: 8377
|
Forum: General CCS C Discussion Posted: Mon Nov 20, 2006 1:38 pm Subject: 7-segment driver(TPIC6B595N) |
Hello everyone,
I want to drive a 7-seg. display, using TPIC6B595N and pic16f877 on my picdem 2+. I don't know how to generate clock pulses by using one of these RB5 For SRCLK, RB6 for RCK and RB7 ... |
Topic: TC74 Demo Code. |
new2ccs
Replies: 8
Views: 77279
|
Forum: Code Library Posted: Thu Nov 16, 2006 4:20 pm Subject: TC74 Demo Code. |
ok, now i kind of got it. I used one of the examples in the manual and didn't work for me and I also read the data sheet too, but still got confused. now it is some what clear.
another question PC ... |
Topic: TC74 Demo Code. |
new2ccs
Replies: 8
Views: 77279
|
Forum: Code Library Posted: Thu Nov 16, 2006 1:06 pm Subject: TC74 Demo Code. |
why is he sending twice before he reads it ?. Also, on the picdem 2+ the eeprom(24lc256) is also connected to the SDA , SCL. with the code above, the pic just reads it from tc74 and doesn't do anythin ... |
Topic: printf and atof |
new2ccs
Replies: 11
Views: 23176
|
Forum: General CCS C Discussion Posted: Wed Nov 15, 2006 3:39 pm Subject: address lines picdem 2+ |
I have a question about the address lines of the LCD. In the data sheet of hd44780U says line 2 = 0x40 and line 1 = 0X00, but when debugging the flex.c code. i notice that line 1 = 0xff and line 2 =0 ... |
Topic: How can use the 40Mhz crystal for PIC 18f4525 |
new2ccs
Replies: 5
Views: 8505
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 12:41 pm Subject: How can use the 40Mhz crystal for PIC 18f4525 |
what is the difference between the two? crystal and oscillator |
Topic: How can use the 40Mhz crystal for PIC 18f4525 |
new2ccs
Replies: 5
Views: 8505
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 11:10 am Subject: How can use the 40Mhz crystal for PIC 18f4525 |
if a program is designed to use 20Mhz for picdem 2+
#fuses HS, NOWDT, NOLVP, PUT
this is for the tones driver program that i downloaded from this forum. I have the xtal of 4Mhz. This means that i ... |
Topic: printf and atof |
new2ccs
Replies: 11
Views: 23176
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2006 9:58 am Subject: printf and atof |
thanks for the code, but suddenly my program works now. Maybe I changed the line in my loop from i =16 after the if statement to BREAK;
void display(char arr[])
{
int i;
... |
Topic: printf and atof |
new2ccs
Replies: 11
Views: 23176
|
Forum: General CCS C Discussion Posted: Mon Nov 13, 2006 11:14 am Subject: printf and atof |
with the code that PCM PROGRAMMER showed me. it works ok.(sprintf). all i need to do now is to figure out why when using display_volts function with the array size of less than 16 characters , it mess ... |
Topic: printf and atof |
new2ccs
Replies: 11
Views: 23176
|
Forum: General CCS C Discussion Posted: Mon Nov 13, 2006 10:12 am Subject: printf and atof |
sorry, it is my display function that has problems, but i don't know why. I can display everything else ok, but when i used my display_volts function then my lcd won't work. With the code that you sh ... |
Topic: printf and atof |
new2ccs
Replies: 11
Views: 23176
|
Forum: General CCS C Discussion Posted: Sun Nov 12, 2006 10:57 am Subject: printf to an array |
Hello PCM PROGRAMMER and Ttelmah,
thank you for your responses, but i used both of your code and it did not work for me. Some how generating a value and assign it to an array does not work. It only ... |
|