Expose PinName for PWM purposes.

This commit is contained in:
Jonathan Protzenko 2015-08-14 15:51:16 -07:00
parent 7e8e6778d7
commit 6e65c33e88
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,6 @@ class MicroBitPin : public MicroBitComponent
*/ */
void *pin; // The mBed object looking after this pin at any point in time (may change!). void *pin; // The mBed object looking after this pin at any point in time (may change!).
PinName name; // mBed pin name of this pin.
PinCapability capability; PinCapability capability;
/** /**
@ -71,6 +70,7 @@ class MicroBitPin : public MicroBitComponent
void disconnect(); void disconnect();
public: public:
PinName name; // mBed pin name of this pin.
/** /**
* Constructor. * Constructor.