|
STM32 core 3.0.1-dev
Arduino core for STM32 based boards: API reference
|
← STM32duino documentation
|
Tone generation: tone() and noTone(), based on a hardware timer. More...
Functions | |
| void | tone (uint8_t _pin, unsigned int frequency, unsigned long duration) |
| void | noTone (uint8_t _pin) |
| void | noTone (uint8_t _pin, bool destruct) |
| Stop tone generation on pin. | |
Tone generation: tone() and noTone(), based on a hardware timer.
| void noTone | ( | uint8_t | _pin, |
| bool | destruct | ||
| ) |
Stop tone generation on pin.
| _pin | The pin on which to stop tone generation. |
| destruct | If true, the tone timer is deinitialized and deleted. If false, it is only paused. |