Skip to Main Content
Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript
book

Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript

by Simon Monk
May 2014
Beginner to intermediate content levelBeginner to intermediate
216 pages
4h 23m
English
McGraw-Hill Education TAB
Content preview from Programming the BeagleBone Black: Getting Started with JavaScript and BoneScript
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK

IoT Development for ESP32 and ESP8266 with JavaScript: A Practical Guide to XS and the Moddable SDK

Peter Hoddie, Lizzie Prader
BeagleBone: Creative Projects for Hobbyists

BeagleBone: Creative Projects for Hobbyists

Charles Hamilton, Rodolfo Giometti, Richard Grimmett

Publisher Resources

ISBN: 9780071832120