Ciaran O'Malley
/
HumidityTemeratureSensor_Project
Temp/Humidity alarm
Revision 1:42f6beb90ce3, committed 2020-07-31
- Comitter:
- ciaranom
- Date:
- Fri Jul 31 19:33:46 2020 +0000
- Parent:
- 0:2e716206ddde
- Commit message:
- Project
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 31 11:22:21 2020 +0000 +++ b/main.cpp Fri Jul 31 19:33:46 2020 +0000 @@ -15,9 +15,6 @@ //LED1 = temperature low - -//bool check = true; - float RH; float m=160, c=-20; @@ -30,12 +27,6 @@ int main() { while(1) { - //while(check) - // { - //check =false; - //} - - temp = pot2*m + c; tempK= temp +273.15; RH = pot1*100; @@ -218,11 +209,6 @@ } -// instead of running through cycle 3 times with a for loop, while loop will continue to run while RH and temp are outside of parameters. - - - - }