Skip to content

luisfpinto/react-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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

About

React App to configure RPI GPIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages