Node.js analogWrite / PWM

nodejs
grovepi

#1

Hi *,

I used the C API for controlling my GrovePi based RC-Tank, which worked flawlessly.
No I’m doing a complete rework in Node.js with the Express framework.

Unfortunately I was unable to find the Node equivalent for analogWrite() to send PWM signals.

Is this impossible for now, or am I missing something?

Many thanks in advance.
Bastian


#2

Hi @machek,

That’s a good question. @marcello-barile, do we have such a method in NodeJS?

Thank you!


#3

hi @machek,
is this what you are looking for?

Best,