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
songs.h
- Committer:
- ArthurSemjonov
- Date:
- 2014-02-12
- Revision:
- 1:4a2a53bbc623
File content as of revision 1:4a2a53bbc623:
/* * 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_ */