MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / getPosition

Method getPosition

libraries/Radar/radar.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109bool RADAR::getPosition(const uint8_t index, int16_t & pan, int16_t & tilt)
110{
111 if (index >= RADAR_POSITIONS) return false;
112 pan = _panArray[index];
113 tilt = _tiltArray[index];
114 return true;
115}
116
117
118bool RADAR::gotoPosition(const uint8_t index)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36