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 4 matches
CCS Forum Index
Author Message
  Topic: for(j=7; j>-1; j-=2) cause infinite loop
khannic

Replies: 2
Views: 3365

PostForum: General CCS C Discussion   Posted: Sun Feb 01, 2009 2:24 pm   Subject: for(j=7; j>-1; j-=2) cause infinite loop
that's works thx for very rapid reply Surprised
  Topic: Recommendations for favorite GPS Modules
khannic

Replies: 2
Views: 3686

PostForum: General CCS C Discussion   Posted: Sun Feb 01, 2009 2:03 pm   Subject: Recommendations for favorite GPS Modules
just success with SAMSUNG GPS21B02 Smile
  Topic: for(j=7; j>-1; j-=2) cause infinite loop
khannic

Replies: 2
Views: 3365

PostForum: General CCS C Discussion   Posted: Sun Feb 01, 2009 1:54 pm   Subject: for(j=7; j>-1; j-=2) cause infinite loop
int j;

for(j=7; j>-1; j-=2){
printf("%d ", j);
}

The result is 7 5 3 1 -1 -3 -5.... and loop is never end. What happened ?
  Topic: MCP2515 CAN RXStatus not working.... datasheet wrong ?
khannic

Replies: 14
Views: 16975

PostForum: General CCS C Discussion   Posted: Tue Dec 09, 2008 10:39 am   Subject: MCP2515 CAN RXStatus not working.... datasheet wrong ?
It's ok now, it's my mistake.
The first byte to command to send should be 0xb0, but when I'm using my can_read function that will write 0x03 0xb0 !!

Thanks for your attention.
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group