官术网_书友最值得收藏!

Introduction to BoneScript

BoneScript is BBB's handy Node.js library. What is Node.js, you ask? Also, why bother with another library? We will talk more about Node.js in the next section. However, as far as another library goes, we're bothering with it because it's designed to work seamlessly with the hardware of your board, making physical computing development under embedded Linux faster and simpler. Using Arduino-like functions, BoneScript exploits the vast developer base of JavaScript.

Typically, your intention in using Node.js and BoneScript on BBB—just as it is with Python in the next section—is to gain access to the header pins, the General Purpose In/Out (GPIO) pins. Although we will discuss more about GPIOs in a later chapter, for now our plan is to briefly explore some fundamental methods to control the hardware.

主站蜘蛛池模板: 信阳市| 黑龙江省| 文水县| 安达市| 大宁县| 南华县| 东台市| 古浪县| 西和县| 兰考县| 新昌县| 应用必备| 鞍山市| 中超| 云阳县| 鹤峰县| 昔阳县| 宾川县| 西乌珠穆沁旗| 金平| 彩票| 平顺县| 永春县| 吴旗县| 关岭| 彩票| 金寨县| 弥勒县| 西和县| 伊宁县| 侯马市| 元朗区| 平山县| 根河市| 隆尧县| 丽水市| 永济市| 高密市| 岱山县| 延川县| 林州市|