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 19 matches
CCS Forum Index
Author Message
  Topic: dsPic33 CCP/CAPTURE #INT
eabir

Replies: 2
Views: 5750

PostForum: General CCS C Discussion   Posted: Fri Feb 06, 2015 3:51 am   Subject: dsPic33 CCP/CAPTURE #INT
Hello,

What is the sytax for CCP/CAPTURE interrupt : #INT_xxx in dsPic33 ?

#int_ccp doesnt exists in the *.h file .

Thanks
  Topic: PIC16F88 4Mhz DTMF
eabir

Replies: 3
Views: 7780

PostForum: General CCS C Discussion   Posted: Wed Oct 01, 2014 12:05 pm   Subject: PIC16F88 4Mhz DTMF
Hi,

I'm using PIC16F88 with ex_dtmf.c .

What is the correct clock settings for 4Mhz internal clock in order to get the correct dtmf tones? and how do i calculate it?

I know that for 20Mhz the ...
  Topic: FFT for L3GD20 Gyro
eabir

Replies: 1
Views: 5394

PostForum: General CCS C Discussion   Posted: Thu Mar 13, 2014 5:16 am   Subject: FFT for L3GD20 Gyro
Hello,

Assume using CCS fft.h :

I would like to sample an axis of the L3GD20 Gyro and output the fft result.

My question is: what is the sample rate Fs which i should use,(then i can calculat ...
  Topic: "RESERVED MEMORY" on debug mode
eabir

Replies: 2
Views: 4535

PostForum: General CCS C Discussion   Posted: Thu Dec 29, 2011 1:41 am   Subject: "RESERVED MEMORY" on debug mode
Hello,

While debug the ccs code in MPLAB i got "RESERVED MEMORY" in the watch value area.
What is the general reason ? and how can i fix it?

It happens with PIC16F688 and PIC24H, i as ...
  Topic: No return from function, why?
eabir

Replies: 7
Views: 7271

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2011 2:43 am   Subject: HW problem
guys,

thank you all, but its a hardware problem of the I/O ports, (after checked with ICE)
  Topic: No return from function, why?
eabir

Replies: 7
Views: 7271

PostForum: General CCS C Discussion   Posted: Thu Nov 17, 2011 12:55 am   Subject: No return from function, why?
I tried return(0), no help.

Even if there is no loop in the visual_on(), the function dont return to main.
  Topic: No return from function, why?
eabir

Replies: 7
Views: 7271

PostForum: General CCS C Discussion   Posted: Wed Nov 16, 2011 10:01 am   Subject: No return from function, why?
Hi,

Why do the Visual_on () function is endless and dont return to main after finish the 'for' loop ?


#include <10F222.h>
#device adc=8

#FUSES NOWDT //No Watch D ...
  Topic: 10f222 ADC
eabir

Replies: 3
Views: 9909

PostForum: General CCS C Discussion   Posted: Fri Oct 28, 2011 4:08 am   Subject: 10f222 ADC
ok,

but my question was what is the best way in coding in order to follow the count increament.
  Topic: ADC voltage input follower
eabir

Replies: 1
Views: 4651

PostForum: General CCS C Discussion   Posted: Thu Oct 27, 2011 11:41 pm   Subject: ADC voltage input follower
Hi,

I'm feeding PIC10F222 ADC input with increasing voltage.


What is the correct way to make sure, that the voltage is really increase in code ?

For example: input voltage in first sample ...
  Topic: #use delay and OSC config
eabir

Replies: 3
Views: 12502

PostForum: General CCS C Discussion   Posted: Sat Oct 02, 2010 10:21 am   Subject: OSC setup
hi again,

Ok, how do I know how many MIPS are in the PIC10F222 ? (I assume MIPS is fixed per chip).

Is this line is enough for declaring the frequency ? : "#use delay(clock=4000000)". ...
  Topic: #use delay and OSC config
eabir

Replies: 3
Views: 12502

PostForum: General CCS C Discussion   Posted: Sat Oct 02, 2010 6:01 am   Subject: #use delay and OSC config
Hello ,

There is something I don't understand regard the following:

When I set: #use delay(clock=4000000) then the code (routines) go less faster then if I set: #use delay(clock=1000000).

...
  Topic: PIC10f220 - calculate result is between 0 to 1, how to ...
eabir

Replies: 10
Views: 10572

PostForum: General CCS C Discussion   Posted: Sat Sep 25, 2010 1:55 pm   Subject: Clock settings
Hello again,

There is something I don't understand regard the following:

When I set: #use delay(clock=4000000) then the code (routines) go less faster then if I set: #use delay(clock=1000000).
...
  Topic: PIC10f220 - calculate result is between 0 to 1, how to ...
eabir

Replies: 10
Views: 10572

PostForum: General CCS C Discussion   Posted: Tue Sep 14, 2010 7:24 am   Subject: ADC Channels
Hi,

I have two inputs for each ADC channel.

What is the correct way to declare : "set_adc_channel();
" i.e. to choose which ADC channel to use in each wanted input: 'Temp' and 'Value' ...
  Topic: PIC10f220 - calculate result is between 0 to 1, how to ...
eabir

Replies: 10
Views: 10572

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 2:27 pm   Subject: PIC10f220 - calculate result is between 0 to 1, how to ...
Hi,

The voltage table is regard working with PIC10F506 emulator, i really don't understand why i get PIC10F222 so tight values.

Thanks,
Eyall
  Topic: PIC10f220 - calculate result is between 0 to 1, how to ...
eabir

Replies: 10
Views: 10572

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 7:00 am   Subject: measuring a bend sensor
Hi,

Sorry for my late response.
I'm measuring a bend sensor, the voltage change is from ~1.5v to ~2.2v with error of ~0.2v .
It take a maximum of 1 second for this gap.(min to max value)
So, is ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group