Skip to content

Cannot use SDK PWM #1654

Closed
Closed
@patrickjahns

Description

@patrickjahns

In relation to #836 I`ve been trying to use the PWM functions provided by the sdk

I included the header file with
`extern "C" {

include "pwm.h"

}`

Trying to initialize it in setup() with
pwm_start();

Linker complains that it can`t find pwm_init() function ??

build1c4a41795fe117f0cc67c7576913ee7e.tmp\sketch\CallSDKFunctions.ino.cpp.o: In function 'setup':
CallSDKFunctions.ino:24: undefined reference to `pwm_start'

Latest Staging Version 2.1-rc2

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions