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

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.

主站蜘蛛池模板: 南京市| 黎平县| 孟村| 永嘉县| 秦皇岛市| 三江| 乐昌市| 当涂县| 定安县| 高邮市| 彰化县| 普安县| 仙桃市| 海盐县| 稻城县| 沽源县| 蓬莱市| 盐池县| 科技| 荥阳市| 宝鸡市| 济源市| 当雄县| 绍兴县| 辽宁省| 全南县| 沁水县| 樟树市| 石台县| 商城县| 普安县| 仪陇县| 玉林市| 广宁县| 连云港市| 清水河县| 祥云县| 江门市| 张家口市| 定结县| 新安县|