I am trying to modify the Arduino code for the Thinxtra (Sigfox) module to replace some of the standard sensors measurements with others. e.g. pressure with ORP.
For the 2 sensors that I have added so far I get the error:
Test_pool3:116:28: error: cannot convert 'UINT16_t' to 'uint16_t {aka unsigned int}' in assignment
phValue.number = (phValue*100);
Test_pool3:118:30: error: cannot convert 'UINT16_t' to 'uint16_t {aka unsigned int}' in assignment
'UINT16_t' and 'uint16_t' are different things as far as the compiler is concerned as case matters, try changing the uppercase UINT16_t to lowercase (uint16_t) and try compiling again.
I should have downloaded the code instead of just referring to the inline code but I can now see UINT16_t is a union so should remain the same case as defined.
Your defining variables (phValue & orpValue) with no values and then multiplying by 100 (I assume to remove decimal point) but your not reading the union variable type correctly. It should read with (phValue.number100) instead of (phValue100)
Altering the below code now makes it compile (but not work)