Expose PinName for PWM purposes.
This commit is contained in:
parent
7e8e6778d7
commit
6e65c33e88
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue