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

Method begin

libraries/HeartBeat/HeartBeat.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20void HeartBeat::begin(const uint8_t pin, float frequency)
21{
22 _pin = pin;
23 pinMode(_pin, OUTPUT);
24
25 setFrequency(frequency);
26 enable();
27}
28
29
30void HeartBeat::setFrequency(float frequency)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36