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.
Dependencies: mbed
dataStore.cpp
- Committer:
- benparkes
- Date:
- 2019-07-25
- Revision:
- 13:bc16eec2256f
- Parent:
- 4:e56a755aeaf1
File content as of revision 13:bc16eec2256f:
#include "mbed.h"
#include "dataStore.h"
int dataStore::note()
{
return _note;
}
int dataStore::octave()
{
return _octave;
}
int dataStore::duration()
{
return _duration;
}
void dataStore::update(int N, int O, int D)
{
this->_note = N;
this->_octave = O;
this->_duration = D;
}