- Internet of Things with Intel Galileo
- Miguel de Sousa
- 196字
- 2021-07-16 13:36:09
Methods and libraries
In the demos you tested in the previous steps, you've tried only the digitalWrite
and analogWrite
methods. Besides those, there are also the analog methods. On the Arduino website, you can find a useful Arduino language reference explaining all the supported methods, constants, operators, and syntax. You can find the Arduino language reference at http://arduino.cc/en/Reference/HomePage.
The Galileo Arduino IDE already brings some libraries, and it is even possible to import the libraries developed by the Galileo community. Beware, not all the Arduino libraries currently work in Galileo. Many of them were developed strictly for the Arduino architecture, and they require to be ported.
Some of the many libraries that Intel have made available are:
- Ethernet: This library allows you to connect to the Internet.
- WiFi: This allows you to connect to the Internet using a wireless card. It brings sketches that help you to configure your Wi-Fi access.
- Wire: This allows you to communicate with I2C devices.
- SPI: This helps you to write to the SPI bus.
- Servo: This helps you to control servos smoothly.
Note
To see all the available libraries, navigate to Sketch | Import Library... on the IDE top menu.
- Objective-C Memory Management Essentials
- Getting Started with ResearchKit
- Mastering Scientific Computing with R
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計(jì)算
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- C語言程序設(shè)計(jì)案例式教程
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- C/C++數(shù)據(jù)結(jié)構(gòu)與算法速學(xué)速用大辭典
- 區(qū)塊鏈架構(gòu)之美:從比特幣、以太坊、超級(jí)賬本看區(qū)塊鏈架構(gòu)設(shè)計(jì)
- AI自動(dòng)化測試:技術(shù)原理、平臺(tái)搭建與工程實(shí)踐
- Python預(yù)測之美:數(shù)據(jù)分析與算法實(shí)戰(zhàn)(雙色)
- PHP+MySQL Web應(yīng)用開發(fā)教程
- 3D Printing Designs:The Sun Puzzle
- 大話代碼架構(gòu):項(xiàng)目實(shí)戰(zhàn)版
- C語言程序設(shè)計(jì)