For a successful program end, the Serial data must display the current (last step) number, then finish by setting the command count to -1. Currently this is done by checking the step "identifiers" and making sure the step number is greater than 10, meaning that brewing is well under way. Attempting to check if the step buffer is empty has proved unreliable due to the order of operations. A more robust Status-Command-Response setup would be awesome, but changing even one thing can cause unexpected problems.
For a successful program end, the Serial data must display the current (last step) number, then finish by setting the command count to -1. Currently this is done by checking the step "identifiers" and making sure the step number is greater than 10, meaning that brewing is well under way. Attempting to check if the step buffer is empty has proved unreliable due to the order of operations. A more robust Status-Command-Response setup would be awesome, but changing even one thing can cause unexpected problems.