Skip to content

Code Engine: Required module for blinking LED via GPIO will not compile on Windows  #51

Description

@marusshi

Describe the bug
The onoff module is being used to allow Code Engine to indicate a busy status via blinking LED. There is a problem requiring the onoff module on Windows because it assumes a Linux interface to access the GPIOs.

This isn't a major issue when we consider that ThingsJS is supposed to run on IoT devices but may be a problem for developers who have Windows computers.

To Reproduce
Run the things-js command on a Windows machine

Screenshots
image

Desktop:
Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions