Author |
Message |
Topic: 8 bit shift error |
nalixis
Replies: 8
Views: 8772
|
Forum: 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
|
Forum: 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...
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
|
Forum: 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
|
Forum: 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
I'm probably doing something wrong but i can't figure wh ... |
Topic: 18f4431 power control pwm module problem |
nalixis
Replies: 3
Views: 12462
|
Forum: 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
|
Forum: 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 ... |
|