Complete library for whole scientific pre-final

Dependencies:   BOX_1

Revision:
3:7c5d4da549ce
Parent:
0:f8a9cceb4186
Child:
4:f693e434d21c
--- a/ENVIROMENTAL/ENVIROMENTAL.h	Mon Jun 10 14:05:37 2019 +0000
+++ b/ENVIROMENTAL/ENVIROMENTAL.h	Mon Jun 10 15:28:07 2019 +0000
@@ -11,7 +11,7 @@
 class ENVIROMENTAL
 {
 public:
-  ENVIROMENTAL(PinName envi_SDA, PinName envi_SCL,PinName mq_analog);
+  ENVIROMENTAL(PinName envi_SDA, PinName envi_SCL,PinName mq_analog,I2C &i2c);
   float get_temp();    //return temperature from SI7021
   uint32_t get_humidity(); //return humidity from SI7021
   int32_t get_pressure();    //return pressure in Pa from MBP280
@@ -33,7 +33,6 @@
 //TSL2561 lux;
 BME280 bmp;
 SI7021 climate;
-I2C i2c;
 VEML6070 uv;
 
 };