Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.03 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.03 KB

##React-RPI

This application allow users to configure the GPIO pins on the RPI on an interactive way.

This application has been made with node.js to run on your RPI. If you want to run locally on your laptop see the instrucction at the bottom.

###Getting Started

First of all you should clone the respository:

git clone https://github.com/luisfpinto/react-rpi

Then install all the dependencies

cd react-rpi
npm install

To start the application run:

node index.js

Access to http://localhost:8000 and then you will see:

react-rpi image

###Run on your laptop

If you have tried to run this application on your laptop you have propably seen this error:

... no suitable image found ...

The only thing you have to do to try this application on your laptop is comment var gpio = require('rpi-gpio'); on:

  • helper.js
  • index.js

## To do

  • Log messages
  • Tests
  • Write option. Change to a list
  • Add onChange pin functionality
  • Improve UI
  • Pin number control