This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mod function in ccs v3.3 dsp 28335



Is there any similar function as mod that we can use.

Thanks

  • Hi Shyam,

    What are you looking for? I mean, you can use modulus function in C on F28335. The compiler RTS library will support it. For example:

    int y,x;
    x = y % 2;

    There is also the modf() function for floating point arguments.

    Regards,
    David