We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Node.js omega_gpio with Omega2

  • I am assuming the omega_gpio package is not built for Omega2 ??

    I tried using it with the Omega2+ and turn on an LED on Pin0 - Works 100%

    But then tried Pin3, but got this error:

     throw new Error("Invalid pin number: " + pinNumber);

    Error: Invalid pin number: 3
    at _verifyPinIsValid (/root/node/gpio/node_modules/omega_gpio/gpio_base.js:26:13)
    at new GPIOPin (/root/node/gpio/node_modules/omega_gpio/gpio_base.js:39:5)
    at OutputPin (/root/node/gpio/node_modules/omega_gpio/gpio_base.js:95:13)
    at LED (/root/node/gpio/node_modules/omega_gpio/gpio_output.js:12:15)
    at Object.<anonymous> (/root/node/gpio/index.js:3:11)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)

Log in to reply

Looks like your connection to Community was lost, please wait while we try to reconnect.