Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/novara754/webleds
Web-interface to control LEDs connected to an Arduino.
https://github.com/novara754/webleds
Last synced: 30 days ago
JSON representation
Web-interface to control LEDs connected to an Arduino.
- Host: GitHub
- URL: https://github.com/novara754/webleds
- Owner: novara754
- License: mit
- Created: 2020-04-03T14:28:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T18:12:07.000Z (over 4 years ago)
- Last Synced: 2024-01-14T23:13:17.001Z (12 months ago)
- Language: JavaScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebLEDs
A simple web-interface for controlling (turning on or off) LEDs connected
to an arduino.## Installation & Execution
**Requirements:**
- [Node.js](https://nodejs.org/en/).
- [Arduino with StandardFirmataPlus](http://johnny-five.io/platform-support/).Run `npm install` in the project folder to install all dependencies, then `node .` will
run the webserver and connect to the Arduino.## Configuration
Edit the `.env.sample` file and set each variable to the desired value, then rename it to
`.env`.- `COM_PORT`: Specifies the COM port the Arduino is connected to. E.g. `COM3`, `/dev/...`.
- `WEB_PORT`: The port the web server should run on.
- `LED_PINS`: Comma-separated list of Arduino pins connected to LEDs.## License
Licensed under the [MIT License](./LICENSE).