MCPcopy 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
18void 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
27void DMM::setMaxVoltage(float maxVoltage)

Callers 2

unittestFunction · 0.45
initMethod · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36