Node.js React app that lets you control 6 servos connected to a Raspberry Pi PWM Hat.
The app leverages the following driver to control the PWM Hat via the i2c protocol.
Before installing the app you need to enable i2c on the Raspberry Pi.
Follow these steps to enable it while ignoring the Python related instructions: you do not need to install libi2c-dev and python-smbus (first and last set of instructions).
The app can only be installed or built on a Raspberry Pi. Installing it or building it in any other environement will fail due to the lack of i2c support.
Run this command to build the app:
npm install && npm run build
Run this command to start the app:
npm start
You can then access the app using a web browser:
http://RASPBERRY_PI_IP:8080/
