Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ begin
Method
begin
libraries/DMM/DMM.cpp:18–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
18
void DMM::begin(uint8_t pin, float maxVoltage, uint16_t maxSteps)
19
{
20
_pin = pin;
21
_maxVoltage = maxVoltage;
22
_maxSteps = maxSteps;
23
_voltageStep = _maxVoltage/_maxSteps;
24
}
25
26
27
void DMM::setMaxVoltage(float maxVoltage)
Callers
2
unittest
Function · 0.45
init
Method · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36