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.
SOMO.h
- Committer:
- alustig3
- Date:
- 2017-04-26
- Revision:
- 1:5a7359b415c8
- Parent:
- 0:a4f14eadd0df
- Child:
- 2:b95724a49517
File content as of revision 1:5a7359b415c8:
// SOMO II sound module http://www.4dsystems.com.au/product/SOMO_II/ // Datasheet http://www.4dsystems.com.au/productpages/SOMO-II/downloads/SOMO-II_datasheet_R_1_2.pdf #ifndef SOMO_H #define SOMO_H #include <mbed.h> //************************************************************************** // class SOMO SOMO.h // This is the main class. It shoud be used like this : SOMO audio(p13,p14); class SOMO{ public: SOMO(PinName TXPin, PinName RXPin); void init(); void playTrackName(char[]); void playTrackNum(unsigned char); void stopTrack(); void volume(unsigned char); void reset(); protected : Serial _serialSOMO; }; #endif