2016-10-27 18:59:56 +00:00
|
|
|
#ifndef ARDUBOY2_AUDIO_H
|
|
|
|
#define ARDUBOY2_AUDIO_H
|
2015-05-01 05:26:58 +00:00
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include <EEPROM.h>
|
|
|
|
|
2016-10-27 18:59:56 +00:00
|
|
|
class Arduboy2Audio
|
2015-05-01 05:26:58 +00:00
|
|
|
{
|
2016-10-20 17:28:29 +00:00
|
|
|
public:
|
2015-05-01 05:26:58 +00:00
|
|
|
void static begin();
|
|
|
|
void static on();
|
|
|
|
void static off();
|
|
|
|
void static saveOnOff();
|
|
|
|
bool static enabled();
|
|
|
|
|
2016-10-20 17:28:29 +00:00
|
|
|
protected:
|
2015-05-01 05:26:58 +00:00
|
|
|
bool static audio_enabled;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|