sensore gas e fumo
Dependencies: MQ2
Revision 3:d392646e1392, committed 2019-07-03
- Comitter:
- fmge
- Date:
- Wed Jul 03 15:40:37 2019 +0000
- Parent:
- 2:3a61e56476bc
- Commit message:
- .
Changed in this revision
MQ2.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 3a61e56476bc -r d392646e1392 MQ2.lib --- a/MQ2.lib Fri Oct 06 09:36:16 2017 +0000 +++ b/MQ2.lib Wed Jul 03 15:40:37 2019 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/azazeal88/code/MQ2/#c0ebeb4b47b6 +https://mbed.org/users/azazeal88/code/MQ2/#944051b30179
diff -r 3a61e56476bc -r d392646e1392 main.cpp --- a/main.cpp Fri Oct 06 09:36:16 2017 +0000 +++ b/main.cpp Wed Jul 03 15:40:37 2019 +0000 @@ -18,7 +18,8 @@ pc.printf("CO PPM: %.0f\r\n",MQ2_data.co); // Return data from strut pc.printf("Smoke PPM: %.0f\r\n",MQ2_data.smoke); // Return data from strut pc.printf("LPG PPM: %.0f\r\n",MQ2_data.lpg); // Return data from strut - pc.printf("................................\r\n"); + pc.printf("................................\r\n"); + pc.printf("E' caldo\r\n"); wait(1); } }