Water: Removed grove dependency

* Renamed all files from grovewater to water
    * Replaced all instances of grovewater with water
    * Updated all CMake files

Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
This commit is contained in:
Sisinty Sasmita Patra
2016-09-13 15:03:26 -07:00
committed by Noel Eck
parent e9b0deaf75
commit ddab71e896
16 changed files with 54 additions and 54 deletions

View File

@ -53,7 +53,7 @@ add_example(SlideSample slide)
add_example(GroveSpeakerSample grovespeaker)
add_example(TemperatureSample temperature)
add_example(VDivSample vdiv)
add_example(GroveWaterSample grovewater)
add_example(WaterSample water)
add_example(GroveWFSSample grovewfs)
add_example(GUVAS12DSample guvas12d)
add_example(H3LIS331DLSample h3lis331dl)

View File

@ -22,12 +22,12 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
public class GroveWaterSample {
public class WaterSample {
public static void main(String[] args) throws InterruptedException {
// ! [Interesting]
// Instantiate a Grove Water sensor on digital pin D2
upm_grovewater.GroveWater water = new upm_grovewater.GroveWater(2);
// Instantiate a Water sensor on digital pin D2
upm_water.Water water = new upm_water.Water(2);
while (true) {
boolean val = water.isWet();
@ -42,4 +42,4 @@ public class GroveWaterSample {
// ! [Interesting]
}
}
}