O'Reilly logo

Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript by Simon Monk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required