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.

How to resolve the errors during programming

Hi sir,

I am using  TMS320F28069 PICCOLO CONTROL STICK, and develope the programm in TriggerdADC-Main.c file.

sir i face the error " expression must have integral type", this error occurs at the line which contains only following equation

" P=(-1)^(n+1); " the valuve of n increses from 1 to 100 . Sir , "^" this syntax is right ?   Sir , i want to make this equation like (-1) rest to(n+1).

Kindly give me the solution,

Thanking you,

Your's Faithfully

samadhan mahajan.