| 370 | } |
| 371 | |
| 372 | void setFrequency(const double freqInHz) { setFrequencyInSecondsPerSample(freqInHz / sampleRate); } |
| 373 | void setPulseWidth(const double pw) { pulseWidth = pw; } |
| 374 | void setWaveform(const PolyBLEPType waveform) { type = waveform; } |
| 375 | void setSampleRate(float sr) { sampleRate = sr; } |