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 9 matches
CCS Forum Index
Author Message
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Mon Nov 01, 2010 7:03 am   Subject: Thanks.
Thanks to everyone who responded. I changed all the float arrays to INT16 and the program is now working. I can't explain why the floats didn't work, but I will not use floats unless absolutely necess ...
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Sun Oct 31, 2010 7:27 am   Subject: Help with IF statement??????
Thanks FVM,

The only thing not shown, is the loading of the array, which comes from an A/D capture routine. The float #'s are more like 1.336464784 etc. The other puzzling part is that it works per ...
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 2:04 pm   Subject: Help with IF statement??????
DSPIC30F6015.

Works great except for this bug..
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 1:46 pm   Subject: Help with IF statement??????
Thanks,
I was thinking of trying that. It will mean changing quite a bit of code coming out of AD routine, Which I change to volts so other functions can massage the data in volts..

Regards,
  Topic: old code broken in new compiler version: PIC18F2550 CPUDIV1
armondo_522

Replies: 2
Views: 5414

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 1:42 pm   Subject: old code broken in new compiler version: PIC18F2550 CPUDIV1
I have never gotten anything after 4.087 to work on existing code.
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 1:19 pm   Subject: Help with IF statement??????
Thank you for the response.

It is correct, I can only get it to work when I hard code in
IF(1.6>1.3) this works every time. Its only when I pass variables to the IF statement it doesnt work. I ...
  Topic: Help with IF statement??????
armondo_522

Replies: 13
Views: 14437

PostForum: General CCS C Discussion   Posted: Fri Oct 29, 2010 10:01 am   Subject: Help with IF statement??????
Hello,
I am using Ver 4.114 of the PCD compiler. I am trying to make a simple IF compare statement. Basically, I take an A/D sample and put it in an Float array. I then want to compare that element t ...
  Topic: Question on waking up from sleep (ULPWU)
armondo_522

Replies: 8
Views: 14845

PostForum: General CCS C Discussion   Posted: Sun Mar 21, 2010 3:56 pm   Subject: thanks
Thank you, I think my biggest problem was that I enabled the global interupt and that brought me to the isr instead of the statement after sleep, but I will try your method to give me a work around in ...
  Topic: Question on waking up from sleep (ULPWU)
armondo_522

Replies: 8
Views: 14845

PostForum: General CCS C Discussion   Posted: Sat Mar 20, 2010 9:51 am   Subject: Question on waking up from sleep (ULPWU)
Hi,
I am using a PIC16F886. I want to use the ULPWU function. I would like the pic to wake up periodically or by an external interrupt. The ULPWU interrupt works but when it wakes up it goes to the U ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group