1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-11-16 21:10:58 +00:00
r65emu/sound_pwm.h
Stephen Crane 9cfa09eade sound_pwm
2018-09-11 16:06:52 +01:00

13 lines
184 B
C++

#ifndef __SOUND_PWM_H__
#define __SOUND_PWM_H__
class PWM {
public:
void begin(unsigned gpio);
void set_duty(unsigned duty);
void stop();
void set_freq(unsigned freq);
};
#endif