Uses 2 Potentiometers on the app-board to control red and green LED. Blue LED is controlled by using Up and Down buttons on the joystick. When Joystick is pressed down, the song will be played.
Fork of app-board-RGB by
Diff: songs.h
- Revision:
- 1:4a2a53bbc623
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/songs.h Wed Feb 12 21:07:58 2014 +0000 @@ -0,0 +1,24 @@ +/* + * song.h + * + * Created on: Feb 11, 2014 + * Author: Artur Semjonov + */ + +#ifndef SONG_H_ +#define SONG_H_ + +class Songs +{ +public: + + Songs(); + /* Plays the song based on frq and beat provided. Both frq and beat should be equal + * @param frequency[] array of frequencies of notes + * @param beat[] array of beats for the song + */ + void songOfMyPeople(float frequency[], float beat[]); +}; + + +#endif /* SONG_H_ */ \ No newline at end of file