Hardware Reference
In-Depth Information
Read the value of the GPIO pin.
Concatenate the HTML code with the data and send it to the browser.
Now, run the following command:
bone# ./GPIOserver.js
Listening on 9090
Point your browser to http://192.168.7.2:9090/gpio , and the page will look like Fig-
ure 6-3 .
 
Search WWH ::




Custom Search