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

Method setAmplitude

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

Source from the content-addressed store, hash-verified

25 float getFrequency() { return _freq1; };
26
27 void setAmplitude(float ampl = 1.0) { _amplitude = ampl; };
28 float getAmplitude() { return _amplitude; };
29 void setPhase(float phase = 0.0) { _phase = phase; };
30 float getPhase() { return _phase; };

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64