Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
140
bool AS5600::setZPosition(uint16_t value)
141
{
142
if (value > 0x0FFF) return false;
143
writeReg2(AS5600_ZPOS, value);
144
return true;
145
}
146
147
148
uint16_t AS5600::getZPosition()
Callers
1
unittest
Function · 0.80
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.64