Skip to content

File not found exception - /tmp/RasPiGpio/export #4

@paulgittings

Description

@paulgittings

Running PiSharpGpio on Raspberry Pi and Mac results in a File Not Found exception in LibGpio.Export( BroadcomPinNumber pinNumber) when trying to open the file stream for the "export" file.

The attempt to open /tmp/RasPiGpio/export fails since the file doesn't exist (the directory does exist).

When opening a FileStream in FileMode.Truncate the file must already exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions