Complete library for whole scientific pre-final
Dependencies: BOX_1
Diff: ENVIROMENTAL/ENVIROMENTAL.cpp
- Revision:
- 5:b0fa65791218
- Parent:
- 4:f693e434d21c
diff -r f693e434d21c -r b0fa65791218 ENVIROMENTAL/ENVIROMENTAL.cpp --- a/ENVIROMENTAL/ENVIROMENTAL.cpp Tue Jun 11 12:57:01 2019 +0000 +++ b/ENVIROMENTAL/ENVIROMENTAL.cpp Thu Sep 05 20:56:11 2019 +0000 @@ -42,9 +42,9 @@ float VRL; float Rs; float ratio; - float Ro; + float Ro=28; float ppm; - float RL; + float RL=10; float m =-0.661; float b =1.332; for(int test_cycle = 1 ; test_cycle <= 500 ; test_cycle++) //Read the analog output of the sensor for 200 times