Tobias Schürg
a2cf7bac55
Merge pull request #7 from mariusebastian/patch-1
...
Debug info and temperature update
2018-09-24 23:12:39 +02:00
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
Tobias Schürg
4d8878bde4
Merge pull request #4 from flatsiedatsie/patch-1
...
Save some memory
2018-09-10 22:16:24 +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
7ede0dfc0a
Updated description.
2018-09-07 00:03:33 +02:00
Tobias Schürg
dcc4063f61
Removed duplicated example.
2018-09-05 00:00:31 +02:00
Tobias Schürg
12481147ca
Merge pull request #3 from per1234/example-folder
...
Move example sketch to appropriately named folder
2018-09-04 23:58:12 +02:00
Tobias Schürg
ff4ff3f8b6
Merge branch 'master' of https://github.com/tobiasschuerg/MH-Z19B
2018-09-04 23:45:59 +02:00
Tobias Schürg
1195942932
Uncomments parts of example.
2018-09-04 23:45:41 +02:00
Tobias Schürg
6d827d6e82
Update README.md
2018-09-04 23:45:04 +02:00
Tobias Schürg
e4be4f03ec
Creates library.properties and moved example to example directory.
2018-09-04 22:52:45 +02:00
Tobias Schürg
dd64e185cc
Update README.md
2018-09-04 22:44:22 +02:00
Tobias Schürg
b25c94459e
Update README.md
2018-09-04 22:43:56 +02:00
Tobias Schürg
4cd25306e7
Merge branch 'master' of https://github.com/tobiasschuerg/MH-Z19B
2018-09-04 22:33:03 +02:00
Tobias Schürg
252266c130
Extracted response times.
2018-09-04 22:33:00 +02:00
per1234
8140e3d131
Move example sketch to appropriately named folder
...
The Arduino IDE requires the sketch folder name to match the filename of the primary sketch file. This change causes the example sketch to be accessible via the Arduino IDE's File > Examples > LIBRARYNAME menu after the library is installed.
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#library-examples
2018-07-21 00:01:56 -07:00
Tobias Schürg
b5bb881bc1
Merge pull request #2 from per1234/keywords-separator
...
Use correct field separator in keywords.txt
2018-07-18 13:48:57 +02:00
per1234
ca2eb6e7ba
Use correct field separator in keywords.txt
...
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted.
Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
2018-07-17 07:29:47 -07: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
Tobias Schürg
4daa920efd
Also defined CO2_IN and more logging.
2018-06-23 12:35:27 +02:00
Tobias Schürg
cd9a51f5a4
Renaming lcd file.
2018-04-22 21:19:35 +02:00
Tobias Schürg
1c6c808c03
Added a modified version which shows the CO2 measurements on a LCD.
2018-04-22 21:18:39 +02:00
Tobias Schürg
144b2ed588
Added formula to readme.
2018-04-22 12:11:58 +02:00
Tobias Schürg
847b20fe40
Added links to README.
2018-04-22 11:51:44 +02:00
Tobias Schürg
fe8a863c95
Renamed ino to match directory.
2018-04-22 11:40:32 +02:00
Tobias Schürg
405515f61c
Initial commit
2018-04-22 11:36:51 +02:00