9
Web Interfaces
Controlling electronics through BoneScript is fun, but imagine just how much more fun it would be if we could use a web page as our user interface. This would allow us to link buttons, controls, and text on a web page to electronics attached to the BeagleBone Black. What’s more, we could connect to that web page using a mobile device.
In this chapter, we look at how to do the following:
•  Control digital outputs using web page hyperlinks
•  Set analog outputs using a slider
•  Continuously display analog and digital inputs on a web page
By having the BeagleBone Black serve a web interface to allow the control of electronics, you can access the hardware over your local network and even over the Internet with suitable modifications ...

Get Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.