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 6 matches
CCS Forum Index
Author Message
  Topic: 8 bit shift error
nalixis

Replies: 8
Views: 8772

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2006 9:25 am   Subject: 8 bit shift error
sorry folks,
i think i went a little too fast here...

actually, the *=16 doesn't change anything wich is strange because it should...i guess..

i'm kind of lost.
  Topic: 8 bit shift error
nalixis

Replies: 8
Views: 8772

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2006 9:11 am   Subject: 8 bit shift error
thanks treitmey

i think i found the error:

#device *=16 was missing in my code... Embarassed

i haven't tried yet but i'm pretty sure that was the problem !

thanks for posting your code

cia ...
  Topic: 8 bit shift error
nalixis

Replies: 8
Views: 8772

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2006 5:58 am   Subject: 8 bit shift error
thanks davekelly


unfortunately it doesn't work better...

i'm checking the generated code by sending it through rs232:

s16CodeCH1 = make16(u8Sample[1],u8Sample[0]); ...
  Topic: 8 bit shift error
nalixis

Replies: 8
Views: 8772

PostForum: General CCS C Discussion   Posted: Fri Dec 08, 2006 5:34 am   Subject: 8 bit shift error
hey all,

i'm having some trouble with a piece of code that seemed to me quite simple at first...but i just get the wrong result Confused
I'm probably doing something wrong but i can't figure wh ...
  Topic: 18f4431 power control pwm module problem
nalixis

Replies: 3
Views: 12462

PostForum: General CCS C Discussion   Posted: Sat Jan 08, 2005 4:38 pm   Subject: 18f4431 power control pwm module problem
you know what..i just tried to correct the FLTCONFIG register, and guess what : IT WORKS !

thanks very much for your help..it was indeed this f..king register that was blocking everything.

So ju ...
  Topic: 18f4431 power control pwm module problem
nalixis

Replies: 3
Views: 12462

PostForum: General CCS C Discussion   Posted: Sat Jan 08, 2005 3:53 pm   Subject: 18f4431 power control pwm module problem
hey everyone;

I'am working with this PIC on a project and I need to use 4 independant PWM sgnals.
Here is the deal..i've tried everything..checked most forums and and just can't get it to work : N ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group