eclipse / mraa

Linux Library for low speed IO Communication in C with bindings for C++, Python, Node.js & Java. Supports generic io platforms, as well as Intel Edison, Intel Joule, Raspberry Pi and many more.
http://mraa.io
MIT License
1.36k stars 613 forks source link

Nodejs for Up 2 Board: All of GPIO Pins can not be used #1069

Closed Jianfengusa closed 3 years ago

Jianfengusa commented 3 years ago

Hello,

I am using Nodejs@4.7.0 on Up 2 Board with mraa@1.0.0, I am having an issue using GPIO pins for output, can anyone help?

Here are some error info. image image

Jianfengusa commented 3 years ago

Come on guys, I really need help on this one!!!

Propanu commented 3 years ago

Hi @Jianfengusa, upgrade to one of the latest versions of the library and it should detect your platform. UP2 was added in MRAA 1.8. Thanks!

Jianfengusa commented 3 years ago

Thank you for the help, I will try it out.

Jianfengusa commented 3 years ago

Thank you so much @Propanu, once I upgrade my mraa it works.