Skip to content
Arduino library for Heltec ESP8266 based boards
Branch: master
Clone or download
Latest commit cb5f273 Feb 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Add src example and img Feb 19, 2019
img Add src example and img Feb 19, 2019
src Add src example and img Feb 19, 2019
.gitignore Add readme Feb 19, 2019
README.md Add readme Feb 19, 2019
keywords.txt Add library.json.. Feb 19, 2019
library.json Add library.json.. Feb 19, 2019
library.properties Add library.json.. Feb 19, 2019
license Add library.json.. Feb 19, 2019

README.md

Heltec_ESP8266 Library

English | 简体中文

This library must work with Heltec ESP8266 develop framework! A detail document about how to install Heltec ESP8266 development framework and this library available here:

http://docs.heltec.cn/#/en/user_manual/how_to_install_esp8266_Arduino

CONTENT

  1. How to install this library

  2. How to use this library

  3. API Reference

  4. Hardware Reference


How to install this library

We recommedn use Arduino library manager, it's the simplest way

Use Arduino Library Manager

Open Arduino IDE, then Select Sketch->Include Library->Manage Libraries... Search Heltec ESP8266 and install it.

Use Git

Firstly, makse sure Git and Arduino IDE has installed first. If not, please refer How to install Git and Arduino. For correctly installed Arduino, you will find a folder in "Username/Documents/Arduino/Library". this library must in such a path!

Open "Git bash" in path "Username/Documents/Arduino/Library", and input:

git clone https://github.com/HelTecAutomation/Heltec_ESP8266.git

You will see such a new folder in your library path, install done.

image

How to use this library

This library must work with [Heltec ESP8266 develop framework](https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series)!

A detail steps to execute some examples available here:

http://docs.heltec.cn/#/en/user_manual/how_to_install_esp8266_Arduino?id=step2-download-the-heltec-esp8266-library

API Reference

OLED API

Hardware Reference

PinoutDiagram

https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/tree/master/PinoutDiagram

Schematic Diagram

https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/tree/master/SchematicDiagram

Note:

  • ESP series chips are faster to download, please make sure to use the high-quality Micro USB cable, it will be easy to download.

Summary of common problems

 



 

简体中文

这个Arduino库必须配合Heltec ESP8266编译环境一起使用!完整的“编译环境 + 库”的的教程可以参考这里:

http://docs.heltec.cn/#/en/user_manual/how_to_install_esp8266_Arduino


目录

  1. 安装方法

  2. 怎样使用这个库

  3. API参考

  4. 硬件设计参考


安装方法

强烈推荐使用Arduino自带的“库管理器”进行安装!

通过Arduino库管理器安装

打开Arduino IDE, 选择项目->加载库->管理库...,打开“库管理器” 搜索Heltec ESP8266并安装.

通过Git进行安装

*首先,请确保GitArduino IDE都已经正确安装。如果没有,请参考这里的安装方法How to install Git and Arduino。 *

强调一下:这个库的路径必须位于操作系统的“文档/Arduino/libraries”文件夹内!!!文档文件夹是操作系统自带的,必须!必须!必须!

在“文档/Arduino/libraries”路径下打开"Git bash",输入:

git clone https://github.com/HelTecAutomation/Heltec_ESP8266.git

如果一切正常,应该是这样的

image

怎样使用这个库

如何运行一个例程?详细的使用指南::

http://docs.heltec.cn/#/en/user_manual/how_to_install_esp8266_Arduino?id=step2-download-the-heltec-esp8266-library

API参考

OLED API

硬件设计参考

引脚图

https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/tree/master/PinoutDiagram

原理图

https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/tree/master/SchematicDiagram

You can’t perform that action at this time.