Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage on esp-idf platform #112

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ Supported display controller: ST7735, ILI9341, PCF8833, SSD1351, LD50T6160, ILI9

Features: Graphics primitives with 18 bit color depth, filled polygon draw, >300, landscape/portrait mode.

# Arduino
See the [github wiki](https://github.com/olikraus/ucglib/wiki) for reference manual and tutorials.


[//]: # ([Download Ucglib Arduino Library](https://github.com/olikraus/Ucglib_Arduino/releases/latest))

[Download Ucglib Arduino Library v1.2 (Arduino IDE 1.5 or higher)](https://github.com/olikraus/Ucglib_Arduino/releases/latest)

Version v1.01 for Arduino IDE 1.0.x [![](https://api.bintray.com/packages/olikraus/Ucglib/Arduino/images/download.png)](https://bintray.com/olikraus/Ucglib/Arduino/_latestVersion)

# ESP-IDF

Clone in your components directory using the following command.

`git submodule add https://github.com/olikraus/ucglib components/u8g2`


# Screenshot
<a href='http://www.youtube.com/watch?feature=player_embedded&v=GSpYY0AMtEU' target='_blank'><img src='http://img.youtube.com/vi/GSpYY0AMtEU/0.jpg' width='425' height=344 /></a>

11 changes: 11 additions & 0 deletions component.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Main Makefile. This is basically the same as a component makefile.
#
# This Makefile should, at the very least, just include $(SDK_PATH)/make/component_common.mk. By default,
# this will take the sources in the src/ directory, compile them and link them into
# lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
# please read the ESP-IDF documents if you need to do this.
#

COMPONENT_SRCDIRS:=csrc
COMPONENT_ADD_INCLUDEDIRS:=csrc