- 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.
- UI圖標(biāo)創(chuàng)意設(shè)計(jì)
- DevOps with Kubernetes
- SoapUI Cookbook
- Building a Home Security System with Raspberry Pi
- Practical Data Science Cookbook(Second Edition)
- 三維圖形化C++趣味編程
- 基于Java技術(shù)的Web應(yīng)用開發(fā)
- Python編程與幾何圖形
- 深入淺出RxJS
- C語(yǔ)言程序設(shè)計(jì)學(xué)習(xí)指導(dǎo)與習(xí)題解答
- PLC應(yīng)用技術(shù)(三菱FX2N系列)
- Python機(jī)器學(xué)習(xí)算法: 原理、實(shí)現(xiàn)與案例
- 案例式C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)
- Machine Learning With Go
- 高效使用Greenplum:入門、進(jìn)階與數(shù)據(jù)中臺(tái)