cancel
Showing results for 
Search instead for 
Did you mean: 

AN2502

jlim75
Associate
Posted on February 25, 2009 at 12:37

AN2502

1 REPLY 1
jlim75
Associate
Posted on May 17, 2011 at 10:15

Has anyone tested the application note AN2502 ?

I am not able to compile the programe with Cosmic C Compiler.

The error message :-

''#error cpst7 source\motcon.c:259(31) truncating assignment''

Below is the line that generated the error message :-

MDREG = ((u16)(MZPRV * (70*0xff/100))) >> 8;

Any help to resolve the error would be much appreciated.

Thank you.