MockPin

MockPin

new MockPin(number) → {MockPin}

Source:
A mock pin used primarily for testing. This class does *not* support PWM.
Parameters:
Name Type Description
number int GPIO Pin to simulate.
Returns:
- The pin that has been instatiated or the pin already associated with this pin number.
Type
MockPin

Extends