Add HM330x Particle Sensor Support #5
1 changed files with 2 additions and 1 deletions
|
@ -66,10 +66,11 @@ uint8_t HM330x::getSensorData(char *payload, uint8_t startbyte) {
|
||||||
uint16ToPayload(value, payload, startbyte);
|
uint16ToPayload(value, payload, startbyte);
|
||||||
startbyte += 2;
|
startbyte += 2;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
return startbyte;
|
return startbyte;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
return startbyte+6;
|
||||||
|
}
|
||||||
|
|
||||||
// Send only a Command
|
// Send only a Command
|
||||||
bool HM330x::sendCmd(uint8_t cmd) {
|
bool HM330x::sendCmd(uint8_t cmd) {
|
||||||
|
|
Loading…
Reference in a new issue