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 23 matches
CCS Forum Index
Author Message
  Topic: Interrupt_Variable_pass
mhjccsinfo

Replies: 7
Views: 9994

PostForum: General CCS C Discussion   Posted: Fri Sep 20, 2013 2:08 am   Subject: Interrupt_Variable_pass
if there is no dependency on the value of these constant vars that MUST be computed in runtime-then by all means declare them CONSTS.
I don't think if there can be any tool for this job.


signed ...
  Topic: Interrupt_Variable_pass
mhjccsinfo

Replies: 7
Views: 9994

PostForum: General CCS C Discussion   Posted: Thu Sep 19, 2013 12:13 am   Subject: Interrupt_Variable_pass
I am Producing a software PWM that get's the freq and duty from operator and produce the desired pulse.

so I calculate about 8 variable ( all long ) and pass it to the ISR.
so they calculate one t ...
  Topic: 4-Wire resistive touch driver
mhjccsinfo

Replies: 5
Views: 48156

PostForum: Code Library   Posted: Wed Sep 18, 2013 3:17 pm   Subject: 4-Wire resistive touch driver
Well , my problem with this circuit was : increasing y with the increasing of x (and vice versa ). I never understand what was the problem but the problem solved when I change the circuit.
I watched ...
  Topic: Interrupt_Variable_pass
mhjccsinfo

Replies: 7
Views: 9994

PostForum: General CCS C Discussion   Posted: Wed Sep 18, 2013 11:16 am   Subject: Interrupt_Variable_pass
No.

Any variable is going to 'stand on RAM', even one that was passed (you would need to store it in the interrupt function, and since these can occur anywhere all variables used in interrupt funct ...
  Topic: 4-Wire resistive touch driver
mhjccsinfo

Replies: 5
Views: 48156

PostForum: Code Library   Posted: Wed Sep 18, 2013 11:06 am   Subject: 4-Wire resistive touch driver
Dear PICoHolic,
Hi,
were you able to use this program completely?
for example could you draw any picture or write anything you want every where in your LCD?
I have used another circuit that I have ...
  Topic: Interrupt_Variable_pass
mhjccsinfo

Replies: 7
Views: 9994

PostForum: General CCS C Discussion   Posted: Wed Sep 18, 2013 10:55 am   Subject: Interrupt_Variable_pass
Hi all
is there any way for passing variables to the Interrupt functions ?
I have to use public vars for this purpose , but this way my program has became so complicated . and also variables witch a ...
  Topic: TLC5940 16 Channel 12-Bit PWM Driver (Simple)
mhjccsinfo

Replies: 2
Views: 37061

PostForum: Code Library   Posted: Wed Sep 18, 2013 10:34 am   Subject: TLC5940 16 Channel 12-Bit PWM Driver (Simple)
Hello Dear Shahryar,
could you explain a little about the IC?
it was not clear from the datasheet that it's just for LED driving or for all-purpose PWM usage.
how much is this chip output_freq (by ...
  Topic: global variables
mhjccsinfo

Replies: 6
Views: 9537

PostForum: General CCS C Discussion   Posted: Thu Aug 01, 2013 10:39 am   Subject: global variables
If you can, post a small program that has the problem. Might be something 'silly' that you can't see because you've stared at it foe hours !
Also post compiler version.
hth
jay

Thank you temtron ...
  Topic: global variables
mhjccsinfo

Replies: 6
Views: 9537

PostForum: General CCS C Discussion   Posted: Wed Jul 31, 2013 11:26 am   Subject: global variables
no
  Topic: global variables
mhjccsinfo

Replies: 6
Views: 9537

PostForum: General CCS C Discussion   Posted: Tue Jul 30, 2013 7:47 pm   Subject: global variables
Thanks for your reply.
I have tested it before and it worked for me. But I have some halts in program execution and I guess this could be related. Also halts decreased when I delete these values. So ...
  Topic: global variables
mhjccsinfo

Replies: 6
Views: 9537

PostForum: General CCS C Discussion   Posted: Tue Jul 30, 2013 4:25 pm   Subject: global variables
hi all
is it possible to give initial value to the global variables in their declarations/definitions ?
for example:
unsigned int16 minimum=12;
thanks
  Topic: Interrupt disabling while in eeprom writing
mhjccsinfo

Replies: 9
Views: 13452

PostForum: General CCS C Discussion   Posted: Sun Apr 28, 2013 12:20 pm   Subject: Interrupt disabling while in eeprom writing
thanks a lot
  Topic: Interrupt disabling while in eeprom writing
mhjccsinfo

Replies: 9
Views: 13452

PostForum: General CCS C Discussion   Posted: Sun Apr 28, 2013 10:16 am   Subject: Interrupt disabling while in eeprom writing

The FRAM (in I2C versions)

could you please introduce a part number of these FRAMs ?

All you do is have enough capacitance on the supply rail

I have many LEDs on the circuit so I think I s ...
  Topic: Interrupt disabling while in eeprom writing
mhjccsinfo

Replies: 9
Views: 13452

PostForum: General CCS C Discussion   Posted: Sun Apr 28, 2013 8:55 am   Subject: Interrupt disabling while in eeprom writing
thanks for your help.

the MCU I'm using is "PIC16f877A" .
I may change it to "PIC18f452" if it has the ability.
-------
Try FRAM. FRAM delay-less writes eliminate those issu ...
  Topic: Interrupt disabling while in eeprom writing
mhjccsinfo

Replies: 9
Views: 13452

PostForum: General CCS C Discussion   Posted: Sun Apr 28, 2013 6:46 am   Subject: Interrupt disabling while in eeprom writing
hello all.
I'm writing a program for controlling a triac component.(a variable dc power supply).and I've used a zero cross circuit for understanding beginning of AC input signal. and I have connect t ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group