codes in progress
Dependents: RUCHE2-CODES_correctiondepoids RUCHE2-CODES_correction_de_poids
Diff: message_1.h
- Revision:
- 2:330f063d8cfa
- Parent:
- 0:db9f881dd501
- Child:
- 3:7542ed5cd721
--- a/message_1.h Sat Jan 19 10:22:46 2019 +0000 +++ b/message_1.h Wed Jan 23 14:27:12 2019 +0000 @@ -9,11 +9,11 @@ //Methodes: //constructeur - Message_1(int messageType, int tempExt, int tempInt, int humidite, float masse):Message(messageType){ - this->m_tempExt = this->parseToUint16_t(tempExt); - this->m_tempInt = this->parseToUint16_t(tempInt); - this->m_humidite = this->parseToUint16_t(humidite); - this->m_masse = this->parseToUint16_t(masse); + Message_1(int messageType, float tempExt, float tempInt, int humidite, float masse):Message(messageType){ + this->m_tempExt = this->parseToInt16_t(tempExt); + this->m_tempInt = this->parseToInt16_t(tempInt); + this->m_humidite = this->parseToInt16_t(humidite); + this->m_masse = this->parseToInt16_t(masse); }; void send(){