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

Method init

Arduino/libraries/ST_Anything/IS_Button.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void IS_Button::init()
51 {
52 //get current status of motion sensor by calling parent class's init() routine - no need to duplicate it here!
53 InterruptSensor::init();
54 //m_lTimeBtnPressed = 0;
55 }
56
57 //called periodically by Everything class to ensure ST Cloud is kept up yo date. HOWEVER, not useful for the IS_Button.
58 void IS_Button::refresh()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected