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.

MSP430FR2033: Error Message: error #19: extra text after expected end of number

Part Number: MSP430FR2033

Hello,

I am trying to understand and resolve the issue I am facing. I am measuring pressure with a sensor. In order to obtain the data there are 2 equations that calculate this data. One equation is a transfer function it takes raw sensor data and turns it into cooked sensor data, and the other equation calculates the pressure data using the output from the other equation. These are my equations:

output_P0 = ((OUTPUT_MAX - OUTPUT_MIN)/(PRESSURE_MAX_001BA - PRESSURE_MIN_001BA))*(P0 - PRESSURE_MIN_001BA)+OUTPUT_MIN;
Press0 = 1.0 * (((output_P0 - OUTPUT_MIN)*(PRESSURE_MAX_001BA - PRESSURE_MIN_001BA))/(OUTPUT_MAX - OUTPUT_MIN)) + PRESSURE_MIN_001BA;

I am getting this message: error #19: extra text after expected end of number. The equations are written properly. The variables are defined. Can someone help me understand what is wrong and how to fix it?

Please and thank you

**Attention** This is a public forum