Commit Graph

356 Commits

Author SHA1 Message Date
c066b2ec1c Correct typos in source and example files 2025-06-04 18:09:40 -05:00
c927504bf5 Update readme and contributing files 2023-10-04 16:21:25 -05:00
337d962862 Merge pull request #64 from adrcunha/master
Allow setting the ADC pin of a MQUnifiedsensor object.
2023-05-16 11:21:45 -05:00
f7f2c1f3f4 Allow setting the ADC pin of a MQUnifiedsensor object.
The ADC pin can only be set when using the full/long constructor, causing the short constructor (name/type only) useless because the pin is unset.

Also default the ADC pin to 1 for consistency sake.
2023-04-11 14:30:49 -07:00
1c131eed65 Merge pull request #61 from adrcunha/master
Cleanup general definitions in MQUnifiedSensor.h
2023-04-11 07:13:18 -05:00
b6bff185f3 Cleanup general definitions in MQUnifiedSensor.h
ADC_RESOLUTION is unused, and retries and retry_interval are only used by getVoltage().
Thus, remove ADC_RESOLUTION and move retries and retry_interval to MQUnifiedsensor.cpp.
Furthermore, these three definitions have generic names so it's easy to have them
conflict with a user's sketch that imports MQUnifiedSensor.h.
2023-04-03 08:53:13 -07:00
a7e89570fd Merge pull request #53 from SMH17/patch-1
Update README.md
2023-03-15 16:35:38 -05:00
35180270ac Merge pull request #56 from PsySc0rpi0n/patch-2
Update MQUnifiedsensor.cpp
2023-03-15 16:35:26 -05:00
52bccfbff1 Merge pull request #57 from PsySc0rpi0n/patch-3
Update MQUnifiedsensor.h
2023-03-15 16:35:12 -05:00
3368613dd7 Update MQUnifiedsensor.h 2022-09-07 22:24:54 +01:00
9f41530cda Update MQUnifiedsensor.cpp
Change the `_type` array size from 6 to 7 so that it can display sensor name's with 6 characters or more.
2022-09-07 22:23:27 +01:00
e862774fe0 Update README.md
These sensors are all made by HANWEI Electronics, Sparkfun etc. are just resellers.
2022-08-03 01:53:49 +02:00
27465dfb99 Launched 3.0 Official! v3.0.0 2022-03-21 14:36:26 -05:00
e3f5e2ec0c Added unit tests! to validate library calculations 2022-03-21 14:32:37 -05:00
6a035cc5d0 Fix in regression of MQ136 2022-03-21 14:19:48 -05:00
80025e8398 Little changes 2022-03-21 08:18:41 -05:00
d3241a1e2f Added MQ136 Example 2022-03-21 08:17:54 -05:00
4b71c626b0 Fixed comment mentioned #29 2022-03-20 12:59:19 -05:00
07b6948f76 Updated and fixed typo examples 2022-03-20 12:53:36 -05:00
990e6878ef Merge pull request #51 from fredolaredo/patch-1
some typo recommendations
2022-03-20 12:44:45 -05:00
6322e9c03d Following comment in #31 we added example 2022-03-20 12:27:54 -05:00
964204706f Added correction factor for Rs/R0 (Ratio) 2022-03-20 09:48:02 -05:00
1f8310a6e7 Changed type of RL internally to fix bug #37 2022-03-20 09:44:30 -05:00
700d367d93 Fix Rs calculation for MQ303A 2022-03-20 09:32:31 -05:00
4be0a40997 Remove delay 2022-03-20 08:50:06 -05:00
6aa78fd575 Bug 44 added heating flags 2022-03-20 08:48:12 -05:00
c934152cd7 Added MQ135-ADS1115 example and feature 2022-03-20 08:28:45 -05:00
525a09644b some typo recommendations
Hi Miguel, thanks you for the Library, here you will find some typo recommendations. not an expert in english myself .
2022-03-19 15:25:57 +01:00
16affe479f Merge pull request #49 from vincenzomanzoni/patch-1
_VOLT_RESOLUTION data type should be float
2022-02-06 17:17:59 -05:00
4a3d46f47e Merge pull request #46 from Prabhuelectro/patch-1
Update smokeDetector.ino
2022-02-06 17:17:48 -05:00
bf6d90db69 _VOLT_RESOLUTION data type changed to float
_VOLT_RESOLUTION can be either 5 or 3.3 V. However, 3.3 V cannot be stored properly in a byte data type and it requires a float data type.
2021-11-03 00:31:39 +01:00
1818c3cf1a Update smokeDetector.ino
Semi colon before the curly bracket.
2021-05-10 13:27:40 +05:30
874be50106 Merge pull request #33 from Yoimer/fix-esp32-measuring-issue-when-connected-to-wifi
added esp32-wroom-32d board, fixed the measuring issue when connected…
2020-08-31 19:29:35 -05:00
71c0d82314 added esp32-wroom-32d board, fixed the measuring issue when connected to wifi. added esp8266 and esp32 and library.properties to avoid avr warning on arduino ide when compiling 2020-08-23 21:19:35 -04:00
11bef492e5 Update README.md 2020-07-09 22:01:09 -05:00
728450025a Update README.md 2020-07-09 21:56:49 -05:00
a059971123 Update README.md 2020-07-09 21:55:09 -05:00
e9425f7047 Update README.md 2020-07-09 21:54:03 -05:00
beab80c403 Added offset of 400 ppm of CO2 on example MQ135 2020-05-31 10:58:00 -05:00
688827ffb4 Fixed MQ-131 Issue v2.0.2 2020-04-20 19:40:27 -05:00
b9a5e62899 Updated examples (Issue 26) 2020-04-20 19:23:45 -05:00
a906388c5c Update README.md 2020-04-20 19:06:00 -05:00
948afddf0d Update README.md 2020-04-20 19:05:08 -05:00
090de8f9e0 Update README.md 2020-04-11 10:48:04 -05:00
5053b10498 Create pull_request_template.md 2020-04-04 10:57:41 -05:00
8a87cce57e Update README.md 2020-04-04 10:38:43 -05:00
972c79578e Update README.md 2020-04-04 10:36:12 -05:00
4246716355 Update README.md 2020-04-04 10:35:52 -05:00
1fe32c4b6e Update README.md 2020-04-04 10:21:19 -05:00
39b4449899 Added parenthesis to make clear the operation v2.0.1 2020-04-04 10:16:15 -05:00