ESP32 SSD1306
来自Jack's Lab
(版本间的差异)
(→Connections) |
(→Quick Start) |
||
第19行: | 第19行: | ||
In Linux: | In Linux: | ||
+ | |||
+ | === Install ESP-IDF === | ||
<source lang=bash> | <source lang=bash> | ||
第29行: | 第31行: | ||
$ git clone --recursive git://github.com/icamgo/esp-idf.git | $ git clone --recursive git://github.com/icamgo/esp-idf.git | ||
$ export IDF_PATH=`pwd`/esp-idf | $ export IDF_PATH=`pwd`/esp-idf | ||
+ | </source> | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | === Compile & Upload === | ||
+ | |||
+ | <source lang=bash> | ||
$ cd esp-idf/examples/10_ssd1306_logo/ | $ cd esp-idf/examples/10_ssd1306_logo/ | ||
$ make menuconfig | $ make menuconfig |
2016年11月15日 (二) 18:35的版本
目录 |
1 Overview
2 Connections
OLED_SSD1306_SDA ---> Noduino_Quantum_D8 OLED_SSD1306_SCL ---> Noduino_Quantum_D9 OLED_SSD1306_3V3 ---> Noduino_Quantum_3V3 OLED_SSD1306_GND ---> Noduino_Quantum_GND
3 Quick Start
In Linux:
3.1 Install ESP-IDF
$ sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial $ wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-59.tar.gz $ mkdir -p toolchain $ tar zxf xtensa-esp32-elf-linux32-1.22.0-59.tar.gz -C toolchain $ export PATH=$PATH:`pwd`/toolchain/xtensa-esp32-elf/bin $ $ git clone --recursive git://github.com/icamgo/esp-idf.git $ export IDF_PATH=`pwd`/esp-idf
3.2 Compile & Upload
$ cd esp-idf/examples/10_ssd1306_logo/ $ make menuconfig $ make flash
4 Reference
- For more information please refer to