Arduino core for ESP8266 WiFi chip
This project brings support for ESP8266 chip to the Arduino environment. It lets you write sketches using familiar Arduino functions and libraries, and run them directly on ESP8266, no external microcontroller required.
ESP8266 Arduino core comes with libraries to communicate over WiFi using TCP and UDP, set up HTTP, mDNS, SSDP, and DNS servers, do OTA updates, use a file system in flash memory, work with SD cards, servos, SPI and I2C peripherals.
Installing with Boards Manager
Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit).
1.Install the current upstream Arduino IDE at the 1.8 level or later. The current version is at theArduino website.
2.Start Arduino and open Preferences window.
3.Enterhttp://arduino.esp8266.com/stable/package_esp8266com_index.jsonintoAdditional Board Manager URLsfield. You can add multiple URLs, separating them with commas.
4.Open Boards Manager from Tools > Board menu and installesp8266platform (and don't forget to select your ESP8266 board from Tools > Board menu after installation).
参考:
网友评论