Skip to content

Something similar to Mock.GPIO would have been nice #6

@Wiggan

Description

@Wiggan

In my code I have this for the regular gpios:
try:
import RPi.GPIO as GPIO
except:
import Mock.GPIO as GPIO # If not running on rpi, mock gpio

Something similar for the hardware pwm would have been great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions