/cncjs-pendant

Primary LanguageJavaScriptMIT LicenseMIT

cncjs-pendant

Read the discussion that lead to this build here

Installation

sudo apt install libusb-1.0-0-dev libudev-dev
npm install node-gyp node-pre-gyp
npm install serialport@9.0.6
npm install node-hid --driver=hidraw --build-from-source --unsafe-perm
# cd in folder
npm install

Usage

# cd bin and make them executable
chmod +x *
# test with:
./start-pendant.sh

create buttons in cncjs to start it and stop it manually

/home/pi/cncjs-pendant/bin/pendant.sh start
/home/pi/cncjs-pendant/bin/pendant.sh stop

Videos

Watch the video

Watch the video

Photos

c6efbafd8fdd278223f1f6c1c6443f956c9f750b 4764b2e048eafbb1dce64e672388e80cd0c0d70b 7c296f7922e8e3f2debf3140b211d87433ebfea2