Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ attach
Method
attach
Sming/Libraries/Servo/ServoChannel.cpp:58–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
bool ServoChannel::attach(uint8_t pin)
59
{
60
this->pin = pin;
61
return servo.addChannel(this);
62
}
63
64
bool ServoChannel::detach()
65
{
Callers
nothing calls this directly
Calls
1
addChannel
Method · 0.80
Tested by
no test coverage detected