Check the pigpio

pigpio is a module used to control Raspberry Pi GPIO channels. This package provides some methods to control GPIO on Raspberry Pi. For examples and documentation, please visit:

Enter the following command to install the pigpio library.

npm install pigpio

Check if the library is installed successfully, change the directory and enter nodejs:

cd ~/davinci-kit-for-raspberry-pi/nodejs

Then enter require(‘pigpio’):


If the above screen appears, the library installation is successful.

If you want to exit node CLI, please press Ctrl+C twice.