MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / PS_Water

Method PS_Water

Arduino/libraries/ST_Anything/PS_Water.cpp:47–53  ·  view source on GitHub ↗

public constructor - called in your sketch's global variable declaration section

Source from the content-addressed store, hash-verified

45//public
46 //constructor - called in your sketch's global variable declaration section
47 PS_Water::PS_Water(const __FlashStringHelper *name, unsigned int interval, int offset, byte analogInputPin, int limit):
48 PollingSensor(name, interval, offset),
49 m_nSensorValue(0),
50 m_nSensorLimit(limit)
51 {
52 setPin(analogInputPin);
53 }
54
55 //destructor
56 PS_Water::~PS_Water()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected