Browse Source

prova4 amb raspberry

master
nau 8 years ago
parent
commit
e2b0243099
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      clientGPIO/index.html
  2. +1
    -1
      server.js

+ 2
- 1
clientGPIO/index.html

@ -31,7 +31,6 @@
<div class="panel-body">
<select id="pinselected">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
@ -47,6 +46,8 @@
<option>14</option>
<option>15</option>
<option>16</option>
<option>17</option>
<option>18</option>
</select>
<div onclick='pinON()' class='btn btn-success'>
<span class="glyphicon glyphicon-ok"></span> encèn pin

+ 1
- 1
server.js

@ -2,7 +2,7 @@
https://www.npmjs.com/package/pi-gpio
*/
//var gpio = require("pi-gpio");
var gpio = require("pi-gpio");
var express=require('express'),

Loading…
Cancel
Save