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.

Coding problem-struct

Other Parts Discussed in Thread: ENERGIA

I am not very sure what's the problem is, and I had tried to shade most part of the code, and I found that maybe I can't not use struct when I write with Energia to load up my code to the TM4C123GXL. So, how can I do?

the information of error is as following 

SerialRead.cpp:14:8: error: expected unqualified-id before '-' token
int Vel;
^
SerialRead.cpp:14:8: error: expected ')' before '-' token