Hi Jingesh! For your processor you can use the C standard library math.h that includes double cos( double x ) But note that the angle is in radian, not degree. There is a MSPMATHLIB , but the homepage says it is for MSP430F5xx, MSP430F6xx and FRAM based MSPs, so I don't now if it is somehow usable on your MSP430F2418 . Maybe someone else knows better than me. I never used it so far. Dennis
↧