Author |
Message |
Topic: Using USB Camera with PIC |
pcmgogo
Replies: 4
Views: 4258
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 3:03 am Subject: Using USB Camera with PIC |
I want to make a project with PIC uC and CCS.
I want to using USB Web camera for my surveillance application. I would like to use USB camera because of its costs.
But I don't know how. Is it possi ... |
Topic: Copy only one bit from integer to another |
pcmgogo
Replies: 4
Views: 3994
|
Forum: General CCS C Discussion Posted: Fri Feb 06, 2009 3:01 am Subject: Copy only one bit from integer to another |
I was using CC5X compiler before CCS. I was copying one bit with following instructions.
a and b are integers
a.1=b.7;
This mean, first bit of a variable is last bit of b variable.
In CCS, ... |
Topic: Mutiplication error in for loop with 16bit variable |
pcmgogo
Replies: 3
Views: 3057
|
Forum: General CCS C Discussion Posted: Wed Jan 14, 2009 10:50 am Subject: Problem solved |
I solved multiplication problem.
I tried to change type of i variable,
I changed i from unsigned int8 to unsigned int16 then problem solved. |
Topic: Mutiplication error in for loop with 16bit variable |
pcmgogo
Replies: 3
Views: 3057
|
Forum: General CCS C Discussion Posted: Wed Jan 14, 2009 10:34 am Subject: Mutiplication error in for loop with 16bit variable |
I can't understand my problem but I could not fix it.
I'm using below function for calculating a value,
gecici is unsigned 16bit variable and it defined with
unsigned int16 gecici;
int8 i; ... |
Topic: Separate Float Number to 4 Different Digits |
pcmgogo
Replies: 3
Views: 4261
|
Forum: General CCS C Discussion Posted: Fri Nov 14, 2008 10:07 am Subject: Separate Float Number to 4 Different Digits |
Thanks for your interests. I solved my problem. I forgot (float) addition before multiplication in my code.
void write_temp()
{
signed int16 sic;
float temperature;
temperatur ... |
Topic: I need String replace for print Turkish characters |
pcmgogo
Replies: 1
Views: 4105
|
Forum: General CCS C Discussion Posted: Sun Nov 09, 2008 4:12 pm Subject: I need String replace for print Turkish characters |
I am controlling a thermal printer with RS232 via Pic16F877.
I am using printf function for sending characters to the printer. My printer and Pic uses different charset for sending and receiving cha ... |
Topic: Separate Float Number to 4 Different Digits |
pcmgogo
Replies: 3
Views: 4261
|
Forum: General CCS C Discussion Posted: Sun Nov 09, 2008 3:58 pm Subject: Separate Float Number to 4 Different Digits |
hi all,
I am programming a digital clock and temperature display with seven segment displays.
I checked the forum for my problem but I could not find exact result from forum.
My circuit has ... |
Topic: ds1302 save and read problem |
pcmgogo
Replies: 1
Views: 7288
|
Forum: General CCS C Discussion Posted: Sun Dec 26, 2004 3:26 pm Subject: ds1302 save and read problem |
I write a code for drive ds1302 with pic16f84. I write the code with ds1302.c library.
I use the pic's 3 pin. My code is working with these procedure,
i use only write and read functions for ds1302 ... |
|