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.
Fork of RPG by
Revision 1:0b389c2c21b5, committed 2012-10-12
- Comitter:
- canderson199
- Date:
- Fri Oct 12 14:04:17 2012 +0000
- Parent:
- 0:4a7e5f6a59a4
- Child:
- 2:94d27805abda
- Commit message:
- updated
Changed in this revision
| RPG.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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:
