attempt to fix posible power issues with the sharp
Dependencies: ADS1115 BME280 CronoDot SDFileSystem mbed
Fork of Outdoor_UPAS_v1_2_Tboard by
Diff: main.cpp
- Revision:
- 48:45d29f874b23
- Parent:
- 47:fe50d72c7adc
--- a/main.cpp Thu May 05 17:43:23 2016 +0000 +++ b/main.cpp Sat May 07 18:43:33 2016 +0000 @@ -713,7 +713,7 @@ ////////////////////////////////////////////////////////////// void flowControl() { - + if(pumps == 1){ //RGB_LED.set_led(0,1,0); omronReading = ads.readADC_SingleEnded(0, 0xC383); // read channel 0 PGA = 2 : Full Scale Range = 2.048V omronVolt = (omronReading*4.096)/(32768*1); @@ -758,7 +758,7 @@ } else { //RGB_LED.set_led(0,1,0); } - + } } //////////////////////////////////////////////////////////////