Closed ezja closed 2 years ago
Command 138 is WRITE_HX711_CONVERSION. This screen tries to read all sensors once the device is connected. The device is returning error code 8. Not sure why. Maybe this can be found in the firmware source.
The firmware returns an "Invalid state" message when doing a read/write conversion while the DS18b20 statemachine is not in idle state:
Reading the sensor value takes 750ms:
Suggestion: call READ_DS18B20_STATE before doing a WRITE_DS18B20_CONVERSION and wait for >750ms if it has not yet returned to an idle state.
Thanks this helps. Found the cause of the issue.
"Error: command code 138"