Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi, Sorry for such a basic question, but each of my FOR loops, such as:
for (counter; counter < bytecount; counter++) { dataND[XBee_numb][counter] = SerialInput(); chksum_temp = chksum_temp + dataND[XBee_numb][counter]; }
at line #79. The compiler responds: "Expression has no effect" Line: 79.
I have never had problems with FOR statements until trying code in the mbed compiler. This FOR statement was copy-and-paste from working C code. No other errors or problems, just all the FOR loops. Thanks. (All variables are defined, etc...)
Jon