Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Music/Music.h
- Committer:
- joshdavy
- Date:
- 2019-04-06
- Revision:
- 5:b9cf407bcc63
- Parent:
- 4:afbf3dd71403
- Child:
- 8:21b6d4dbce44
File content as of revision 5:b9cf407bcc63:
#ifndef MUSIC_H
#define MUSIC_H
/*Music Class*/
#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Sprite.h"
#include "Player.h"
class Music {
public:
Music();
~Music();
void init(const int* data,int length);
void play_next();
private:
const int* _data;
int _index;
int _length;
};
#endif