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 14 matches
CCS Forum Index
Author Message
  Topic: Increment variable float!
ERICOO

Replies: 15
Views: 21507

PostForum: General CCS C Discussion   Posted: Sun Nov 25, 2012 3:00 am   Subject: Increment variable float!
I just want to contribute by saying that you could use software to faster increment of the variable until it is equal the targeted value of say 25.1
while(temp_global<25.1){
temp_glo ...
  Topic: can edge be change in interrupt routine?
ERICOO

Replies: 6
Views: 8414

PostForum: General CCS C Discussion   Posted: Sun Nov 25, 2012 2:31 am   Subject: can edge be change in interrupt routine?
yes the edge can be changed within the interrupt routine, but just be sure that you disable the specific interrupt within the routine before changing the edge and re enable it before leaving the inter ...
  Topic: Logical AND operator problem
ERICOO

Replies: 11
Views: 18529

PostForum: General CCS C Discussion   Posted: Sun Nov 25, 2012 2:03 am   Subject: Logical AND operator problem
Hello Gabriel, depending on the way the press button is connected to your mcu the outcome of your code will be different. For instance on the PICDEM 2 PLUS demo board the input is pull up, in that cas ...
  Topic: SIRC decoding
ERICOO

Replies: 2
Views: 5981

PostForum: General CCS C Discussion   Posted: Sat Apr 21, 2012 4:14 am   Subject: SIRC decoding
Somebody out there please help. I had been trying to decode Sony TV remote control all to no avail. I have read so much on this on the internet, but the theory seem far different from the practice. I ...
  Topic: Clarification on interrupt flag bit
ERICOO

Replies: 2
Views: 7241

PostForum: General CCS C Discussion   Posted: Wed Apr 18, 2012 2:08 pm   Subject: Clarification on interrupt flag bit
Thanks a lot PCM PROGRAMMER you solved my problems.
  Topic: Clarification on interrupt flag bit
ERICOO

Replies: 2
Views: 7241

PostForum: General CCS C Discussion   Posted: Sat Mar 24, 2012 6:44 am   Subject: Clarification on interrupt flag bit
Please somebody tell me, does ccs have any function to check if interrupt flag bit is set? If yes what is it?

Which of these is correct: clear_interrupt(INTF) or clear_interrupt(INT_EXT) ?
Both wi ...
  Topic: 7 segment seconds
ERICOO

Replies: 1
Views: 3904

PostForum: General CCS C Discussion   Posted: Fri Nov 25, 2011 12:47 pm   Subject: 7 segment seconds
YOU DELAYED FOR 100ms for the unit digit. where is your delay for tenth digit?
  Topic: Saving CCP1 captured value
ERICOO

Replies: 1
Views: 3383

PostForum: General CCS C Discussion   Posted: Mon Aug 01, 2011 4:32 pm   Subject: Saving CCP1 captured value
Hello all.
I want to save the ccp1 captured value to internal eeprom. The captured value is in the vicinity of 24000. I tried writing and reading from the eeprom, but all I could read was 255. In fac ...
  Topic: Undefined Identifier Errors
ERICOO

Replies: 5
Views: 10436

PostForum: General CCS C Discussion   Posted: Sat Jul 30, 2011 4:10 pm   Subject: Undefined Identifier Errors
Check the include file (the key pad driver) if K is not declared in there then declare K as a character variable in your main code. e.g
Char k;
just before your functions declarations.
  Topic: Timer1 frequency counter limit
ERICOO

Replies: 2
Views: 5314

PostForum: General CCS C Discussion   Posted: Wed Jul 27, 2011 4:26 pm   Subject: Timer1 frequency counter limit
I have learned PIC MCU programing to the level that want to make a digital read out from my analog tuner world receiver. I will pick the signal from the mixer stage and input onto a frequency counter. ...
  Topic: I need ccs c code for seven segment displaying frequency
ERICOO

Replies: 12
Views: 25710

PostForum: General CCS C Discussion   Posted: Wed Jul 27, 2011 4:05 pm   Subject: I need ccs c code for seven segment displaying frequency
Hello Stock2. All that you need do is declare an array of the digits 0 - 9 for example
char dig_map[10] = {3f, 0x06,0x5b,4f.............0x6f};

then

void display() ...
  Topic: Printf not printing floating point numbers correctly.
ERICOO

Replies: 24
Views: 36930

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2011 4:52 am   Subject: PRINTF NOT PRINTING FLOATING POINT NUMBERS CORRECTLY
According to temtronic it would be best if you send your code.
however you be sure that all variables you using for your formular are globally declared as float or if you are simply wanting to displa ...
  Topic: CODE FOR DISPLAY OF TRUE CIRCLE
ERICOO

Replies: 4
Views: 6094

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2011 4:24 am   Subject: CODE FOR DISPLAY OF TRUE CIRCLE
Hello Douglas.
The code you forwarded to me worked, but i could comprehend the code.
I observed that the origin (0,0) is at the far right side instead of left side of the glcd. Again the circle coul ...
  Topic: CODE FOR DISPLAY OF TRUE CIRCLE
ERICOO

Replies: 4
Views: 6094

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2011 5:47 am   Subject: CODE FOR DISPLAY OF TRUE CIRCLE
I am very new to mcu programming. I will appreciate if anyone could tell me why the ccs GRAPHICS.C driver in PCM compiler displays an elliptical shape instead of a true circle. I have compiled the ccs ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group