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

Method setZPosition

libraries/AS5600/AS5600.cpp:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140bool AS5600::setZPosition(uint16_t value)
141{
142 if (value > 0x0FFF) return false;
143 writeReg2(AS5600_ZPOS, value);
144 return true;
145}
146
147
148uint16_t AS5600::getZPosition()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64