public constructor - called in your sketch's global variable declaration section
| 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() |
nothing calls this directly
no outgoing calls
no test coverage detected