raspikeyer/src/sidetone.h

13 lines
166 B
C
Raw Normal View History

2024-02-16 21:05:25 +01:00
#pragma once
2024-02-12 15:57:50 +01:00
class Sidetone
{
2024-02-16 20:56:03 +01:00
public:
2024-02-18 17:14:47 +01:00
Sidetone() = delete;
2024-02-12 15:57:50 +01:00
Sidetone(uint gpio);
void on(uint freq);
void off();
2024-02-16 20:56:03 +01:00
private:
2024-02-19 12:10:42 +01:00
uint m_gpio {0};
2024-02-16 21:05:25 +01:00
};