Skip to content

AnalogWrite error #43

Open
Open

Description

@jadonk

From @el-j on December 13, 2017 16:11

i use the pocketbeagle board.

and set pin p2_1 to analogwrite

b.pinMode(pin, b.ANALOG_OUTPUT, );
b.analogWrite(pin, 1, 2000, printJSON)

sadly it ends in this error:

{"err":"error updating PWM freq and value: undefined, Error: ENOENT: no such file or directory, open 'undefined/period'"}

same error in the playground.
i really need analog write. do you have any suggestions how i can use it?

Copied from original issue: jadonk#158

Activity

  1. jadonk commented on Apr 25, 2018

    @jadonk
    SponsorMemberAuthor

    This is going to require a kernel update as I've got the other fixes in. I believe @RobertCNelson will do the kernel update soon. See jadonk#156.

  2. jadonk commented on Apr 25, 2018

    @jadonk
    SponsorMemberAuthor

    Almost there. Still have the udev issue jadonk#161.

  3. added a commit that references this issue on Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions