1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-12-22 03:30:02 +00:00
r65emu/sound_pwm.h

13 lines
184 B
C
Raw Normal View History

2018-09-11 15:06:52 +00:00
#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