CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: joining two different projects
mutevaggil

Replies: 3
Views: 4001

PostForum: General CCS C Discussion   Posted: Tue Sep 23, 2008 7:11 am   Subject: pre processor
if i am not wrong, these pre-proccessor instructions work only while compling.

i want user can change which project works. i mean, when i press Button A,
project1 will work, when i press button B ...
  Topic: joining two different projects
mutevaggil

Replies: 3
Views: 4001

PostForum: General CCS C Discussion   Posted: Mon Sep 22, 2008 5:29 am   Subject: joining two different projects
is it possible to join two different projects? is there any way about doing this?
i have two working project, i want to join them in a third project.

i tried to explain as shown below:

http:// ...
  Topic: Structures in header file gives error
mutevaggil

Replies: 1
Views: 3067

PostForum: General CCS C Discussion   Posted: Mon Sep 08, 2008 1:31 am   Subject: Structures in header file gives error
hi, its 16f690,

When I write a structure in a header file gives me "undefined identifier" error.
My structure is legal I think:

typedef struct{
int16 hasan;
byte Resolut;
...
  Topic: Problem with Timer2 and Timer0 interrupt
mutevaggil

Replies: 2
Views: 4188

PostForum: General CCS C Discussion   Posted: Tue Jul 29, 2008 4:48 am   Subject: its done
thanks ttelmah,

i listened your advice and did some searches here. you really answered hundreds of time for the same problem. and of them worked for me.

i just kept PR2 short. i mean:

Instea ...
  Topic: Problem with Timer2 and Timer0 interrupt
mutevaggil

Replies: 2
Views: 4188

PostForum: General CCS C Discussion   Posted: Sat Jul 26, 2008 4:24 am   Subject: Problem with Timer2 and Timer0 interrupt
hi everyone. i got a problem.

here is my timer adjustments of timer0:


setup_timer_0(RTCC_INTERNAL|RTCC_DIV_8|RTCC_8_bit);
set_timer0(131);
enable_interrupts(INT_TIMER ...
  Topic: pins as a function's parameter
mutevaggil

Replies: 1
Views: 3665

PostForum: General CCS C Discussion   Posted: Wed Jul 16, 2008 1:21 am   Subject: pins as a function's parameter
hi, i want to use a pin as a function parameter. How can i pre-define it in .h file ?

void sample_func (byte) ?

I know i can write the address number of pin, but my parameter is a variable pin. ...
  Topic: How can i use PORTB instead of output_b()
mutevaggil

Replies: 2
Views: 3754

PostForum: General CCS C Discussion   Posted: Tue Jun 10, 2008 6:56 am   Subject: How can i use PORTB instead of output_b()
hi,

i want to use PORTB as output directly, i mean, when i write:
PORTB=1; first led of PORTB will ON.

i defined my registers in main.h:

#include <16F877A.h>

#byte PORTB = 0x06
#by ...
  Topic: missing pulses in counting
mutevaggil

Replies: 1
Views: 2680

PostForum: General CCS C Discussion   Posted: Thu May 29, 2008 9:32 am   Subject: missing pulses in counting
hi, i am programming a pulse counter. there is a proximity sensor... my program takes its movement as pulses. it works. but if speed rise, it is happening some missing pulses, rarely but exist.

how ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group