Go to advanced search

by feededandrea
Wed Jun 13, 2018 7:09 am
Forum: Other programming languages
Topic: Problem with PiGPIO in javascript
Replies: 4
Views: 1834

Re: Problem with PiGPIO in javascript

Sorry for not answer before, I'm new here and I didn't find the post.

Joan, as soon as I can, I will try to do that you said.

Heater, I didn't try exactly that, but I invert the Pins, and the other one start working but the other one no.
by feededandrea
Sun Jun 10, 2018 6:11 am
Forum: Other programming languages
Topic: Problem with PiGPIO in javascript
Replies: 4
Views: 1834

Problem with PiGPIO in javascript

Hi to all. I was trying to make PWM output for a Led with PiGIO on a ".js" file. So I have this code that works perfect: var Gpio = require('pigpio').Gpio, led = new Gpio(17, {mode: Gpio.OUTPUT,edge: Gpio.EITHER_EDGE}); led.pwmWrite(value); <value is between 0 and 255> But if I want to have multiple...

Go to advanced search