/rpi_nodejs_led

Simple example how to enable/disable led with nodejs and html

Primary LanguageJavaScript

NodeJs-Raspberry-Pi

LTS NodeJS Install:

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt install nodejs
node -v

Git Install:

sudo apt install git
git -v

Start web server (port 8181)

git clone https://github.com/kele6ra/rpi_nodejs_led
cd rpi_nodejs_led
sudo node index.mjs