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

Method getFrequency

libraries/FunctionGenerator/FunctionGenerator.h:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 float getPeriod() { return _period; };
24 void setFrequency(float freq = 1.0) { setPeriod(1/freq); };
25 float getFrequency() { return _freq1; };
26
27 void setAmplitude(float ampl = 1.0) { _amplitude = ampl; };
28 float getAmplitude() { return _amplitude; };

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36