104 double outerPTerm, outerITerm, outerDTerm;
105 humidistat.getTerms(outerPTerm, outerITerm, outerDTerm);
107 double innerPTerms[2], innerITerms[2], innerDTerms[2];
108 humidistat.getInner(0)->getTerms(innerPTerms[0], innerITerms[0], innerDTerms[0]);
109 humidistat.getInner(1)->getTerms(innerPTerms[1], innerITerms[1], innerDTerms[1]);
111 char *buf =
asprintf(
"%lu %.2f %.2f %.2f %.4f %.3f %.4f %.3f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f %.4f",
char * asprintf(const char *fmt, T... args)
Print formatted data to string. Automatically allocates string on the heap. Make sure to delete it im...
SerialLogger< cHumidistat > serialLogger & humidistat