Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

#include "mgos_pwm.h"

Hi,
I wanted to try using PWM in my project, so I just added a

#include "mgos_pwm.h" 

to the top of my file, and added a

mgos_pwm_set(...) 

command in my program.

However, the mgos_pwm.h file was not found, and when I looked in the /GIT/mongoose-os/fw/src folder I saw it wasn't there. Googling I found this repository: https://github.com/mongoose-os-libs/pwm

Is it correct that I should also clone that repository, and configure my include directories, so that I can use that mgos_pwm.h file? Is that the intended way to do this?

Comments

Sign In or Register to comment.