Giter Site home page Giter Site logo

jimeixuehua / lv_examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lvgl/lv_demos

0.0 0.0 0.0 9.03 MB

Examples, tutorials and applications for the LittlevGL embedded GUI library

Home Page: https://littlevgl.com

C 99.81% Makefile 0.19%

lv_examples's Introduction

Examples for Littlev Graphics Library

LittlevGL is a free and open-source graphics library providing everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.

GitHub: https://github.com/littlevgl/lvgl Website: https://littlevgl.com

Add the examples to your projects

  1. Clone this repository: git clone https://github.com/littlevgl/lv_examples.git or download from the Download page. To always use the newest version the cloning is recommended.
  2. The lv_examples directory should be next to the lvgl directory in your project.

Similary to lv_conf.h there is a configuration file for the examples too. It is called lv_ex_conf.h.

  1. Copy lv_examples/lv_ex-conf_templ.h next to lv_examples directory
  2. Rename is to lv_ex_conf.h
  3. Delete the first #if and last #endif to enable the file's content
  4. Enable or Disable modules

Tutorial

A step-by-step guide to teach the most important parts of the Graphics Library.

  • Hello world
  • Objects (graphical components)
  • Styles
  • Themes
  • Anti-aliasing
  • Images
  • Fonts
  • Animations
  • Responsive
  • Keyboard

Applications

Real life GUI examples which can be adapted in your own project. The applications are designed to adapt to your screen's resolution.

  • Demo
  • Benchmark
  • System performance monitor
  • Touchpad calibrator
  • Terminal

Tests

Test cases to validate the features of LittelvGL. You can also use them as examples. The most important and useful tests are:

  • Theme test: lv_test_theme_1()
  • Keyboard interface test: lv_test_group_1()
  • Tests of object types: lv_test_..._1/2/3() e.g. (lv_test_slider_1())

Contributing

For contribution and coding style guidelines, please refer to the file docs/CONTRIBUTNG.md in the main LittlevGL repo: https://github.com/littlevgl/lvgl You are encouraged to use the 'astyle' util to format your code prior to pushing it. The files docs/astyle_(c/h) contain astyle rules to format source and header files according to the project coding guidelines.

lv_examples's People

Contributors

ali-rostami avatar brianpugh avatar deonmarais64 avatar embeddedt avatar kisvegabor avatar mortflem avatar poelstra avatar seyyah avatar zaltora avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.