Commit graph

9 commits

Author SHA1 Message Date
mariusebastian
f96cf2abc6
Debug info and temperature update
Prevent "...Status maybe not OK.." from always being printed when debug is on.
Changed the is !isReady check to isPreHeating when getting the latest temperature. The isReady check prevents the function from returing the pre stored temperature within MHZxxx_RESPONSE_TIME after the UART data has been requested. This is an unnecessary restriction.
2018-09-24 12:12:02 +02:00
flatsiedatsie
7e401b4625
Save some memory
Instead of just creating an issue that the library uses a lot of memory,  I wanted to save you some work instead.

I have not tested this code, but i have double checked it.
2018-09-10 20:41:05 +02:00
Tobias Schürg
252266c130 Extracted response times. 2018-09-04 22:33:00 +02:00
Tobias Schürg
83ba964a90 Implemented isPreHeating and isReady. 2018-07-07 16:05:40 +02:00
Tobias Schürg
99729af090 Added isPreheating and isReady to MHZ.h and reformatted. 2018-07-07 12:59:32 +02:00
Tobias Schürg
7158f63459 Introduced status codes as return values. 2018-07-04 23:20:12 +02:00
Tobias Schürg
a66da23b89 Changed status handling as it seems as if the mhz19B returns 0 instead of 0x40 like the mhz19. 2018-06-24 14:38:42 +02:00
Tobias Schürg
29ea8e92bc Added a debug mode and improved log messages. 2018-06-24 12:22:50 +02:00
Tobias Schürg
ddef5ff84f Extracted MHZ logic into its own class. 2018-06-23 14:32:55 +02:00
Renamed from MH-Z19B-LCD/MH-Z19B-LCD.ino (Browse further)