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.

I defined a global constant but it have a wrong value

Other Parts Discussed in Thread: CONTROLSUITE

I'm using CCSv5 and F28335

I defined a golbal const like this:

const Uint16 test = 233;

And then I writed this in main():

Voltage1 = test;

I debuged the program with XDS100, but the Voltage1 got a wrong value.

What can I do to define a golbal const?