Simple RPG Library
Dependents: Audio_Player Wav_player_RPG_menu lcd_menu Lab3 ... more
Revision 1:0b389c2c21b5, committed 2012-10-12
- Comitter:
- canderson199
- Date:
- Fri Oct 12 14:04:17 2012 +0000
- Parent:
- 0:4a7e5f6a59a4
- Commit message:
- updated
Changed in this revision
RPG.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4a7e5f6a59a4 -r 0b389c2c21b5 RPG.h --- a/RPG.h Fri Oct 12 14:01:48 2012 +0000 +++ b/RPG.h Fri Oct 12 14:04:17 2012 +0000 @@ -29,18 +29,20 @@ #include "mbed.h" +/** + * Constructor(Channel A input pin, Channel B input pin, Pushbutton input pin) + */ class RPG{ public: RPG(PinName pA, PinName pB, PinName pPB); - //Dispose + //Destructor ~RPG(); //Get Direction int dir(); //Check Push Button bool pb(); - //Digital In (pulled up) private: