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

Method setFrequency

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

Source from the content-addressed store, hash-verified

22 void setPeriod(float period = 1.0);
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; };

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36