mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
SPI library to the new format and moved Robot_Motor and Robot_Control libraries
This commit is contained in:
17
libraries/Robot_Control/SquawkSD.h
Normal file
17
libraries/Robot_Control/SquawkSD.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef _SQUAWKSD_H_
|
||||
#define _SQUAWKSD_H_
|
||||
#include <Squawk.h>
|
||||
#include "Fat16.h"
|
||||
|
||||
class SquawkSynthSD : public SquawkSynth {
|
||||
private:
|
||||
Fat16 f;
|
||||
public:
|
||||
inline void play() { Squawk.play(); };
|
||||
void play(Fat16 file);
|
||||
//void convert(Fat16 in, Fat16 out);
|
||||
};
|
||||
|
||||
extern SquawkSynthSD SquawkSD;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user