fivdi / pigpio

Fast GPIO, PWM, servo control, state change notification and interrupt handling with Node.js on the Raspberry Pi
MIT License
948 stars 89 forks source link

PIGPIO release Version 73 to support 512 I2C devices #92

Closed yboujraf closed 4 years ago

yboujraf commented 4 years ago

Dear @fivdi

Few hours ago the repository released a new version of PIGPIO

https://github.com/joan2937/pigpio/releases/tag/V73

Do you think your repository could sync the new release and get the new features ?

Best Regards, Youssef

fivdi commented 4 years ago

As mentioned in the pigpio Node.js module readme, the pigpio Node.js module is a wrapper for the pigpio C library. When the pigpio Node.js module is installed with the command npm install pigpio, the C++ code in the pigpio Node.js module is compiled and linked with the shared pigpio C object library called libpigpio.so from pigpio C library. In other words, a dynamically linked shared library is used (libpigpio.so). A statically linked library that becomes part of the pigpio Node.js module is not used.

This means that when a new version of the pigpio C library is released it can simply be installed and the pigpio Node.js module will function correctly if there are no breaking changes in the pigpio C library.

There is no TODO for the pigpio Node.js module here. Simply install V73 of the pigpio C library and everything should function correctly.

yboujraf commented 4 years ago

Dear @fivdi

On which folder I need to copy the new release in your repository ?

Best Regards Youssef

fivdi commented 4 years ago

On which folder I need to copy the new release in your repository ?

You don't need to copy anything anywhere. You need to download and install V73 of the pigpio C library as described here.

fivdi commented 4 years ago

@yboujraf I successfully upgraded from V71 to V73 of the pigpio C library using the instructions provided here and the previously installed version of the pigpio Node.js module functioned correctly before and after upgrading to V73 of the pigpio C library.

Note that since the release of the first version of the pigpio Node.js module in 2015 there have never been any breaking changes to the pigpio C library that resulted in the pigpio Node.js module breaking. The pigpio Node.js module and pigpio C library have always worked well together.

There is no TODO for this repository here so I'll go ahead and close this issue.

yboujraf commented 4 years ago

Congratulations @fivdi

Do you updated your repository ? And i can clone it ?

Other just follow your instruction in your last email

I appreciate to have taken consideration of my issue

Best regards Youssef

On Sat, 4 Jan 2020, 10:28 Brian Cooke, notifications@github.com wrote:

@yboujraf https://github.com/yboujraf I successfully upgraded from V71 to V73 of the pigpio C library using the instructions provided here http://abyz.me.uk/rpi/pigpio/download.html and the previously installed version of the pigpio Node.js module functioned correctly before and after upgrading to V73 of the pigpio C library.

Note that since the release of the first version of the pigpio Node.js module in 2015 there have never been any breaking changes to the pigpio C library that resulted in the pigpio Node.js module breaking. The pigpio Node.js module and pigpio C library have always worked well together.

There is no TODO for this repository here so I'll go ahead and close this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fivdi/pigpio/issues/92?email_source=notifications&email_token=ABO5YWQD2AOOLN2LXPB36Q3Q4BJEFA5CNFSM4KCEAEOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICUI7A#issuecomment-570770556, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO5YWTKPA6HMHXDPCO7SWTQ4BJEFANCNFSM4KCEAEOA .

fivdi commented 4 years ago

Do you updated your repository ?

No, the pigpio Node.js module was not updated as nothing needed to be updated.

And i can clone it ?

Yes.

Other just follow your instruction in your last email

Correct.

I appreciate to have taken consideration of my issue

You're welcome.