Expose PinName for PWM purposes.
This commit is contained in:
parent
7e8e6778d7
commit
6e65c33e88
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,6 @@ class MicroBitPin : public MicroBitComponent
|
|||
*/
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
|
@ -71,6 +70,7 @@ class MicroBitPin : public MicroBitComponent
|
|||
void disconnect();
|
||||
|
||||
public:
|
||||
PinName name; // mBed pin name of this pin.
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
Loading…
Reference in a new issue