Coder Social home page Coder Social logo

esp_effects's Introduction

Old schoold demo effects for ESP32

ESP effects

Created to test the HAGL graphics library. For quick reference see the recording on Vimeo.

Ready made config files for M5Stack, M5Stack Core2, M5Stick C, M5Stick CPlus, TTGO T-Display, TTGO T4 V13, TTGO T-Watch 2020 and LilyGO T-QT Pro. For example to compile and flash for M5Stack run the following.

$ git clone https://github.com/tuupola/esp_effects.git --recursive
$ cd esp_effects
$ cp sdkconfig.m5stack sdkconfig
$ make -j8 flash

If you have some other board or display run menuconfig yourself. For smaller screens triple buffering offers the smoothest animations.

$ git clone https://github.com/tuupola/esp_effects.git --recursive
$ cd esp_effects
$ make menuconfig
$ make -j8 flash

Or if you are using the new build system.

$ git clone https://github.com/tuupola/esp_effects.git --recursive
$ cd esp_effects
$ idf.py menuconfig
$ idf.py build flash

Run on computer

HAGL is hardware agnostic. You can run the demos also on your computer.

esp_effects's People

Contributors

tuupola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

esp_effects's Issues

Documentation of sdkconfig usage and color format

Nice demo @tuupola . Thank you for making it.

One recommendation how to avoid cp of sdkconfig for each platform, is to use environment variable and build like this:

export SDKCONFIG_DEFAULTS=sdkconfig.m5stack
idf.py build flash monitor

This approach is descripted in docs here.

Please, could you provide a hint how the picture in head.h was created? I guess that it's RGB565, yet RGB565 or BGR565 is not producing the correct result.

Some extra steps to get it working on M5Stack

Hi, thanks for your library, really nice work!
Anyway. I'm testing with a M5Stack Basic (black), on Windows 10 with IDF v4.1, and I had to take some extra steps to get it working. I'm quite a newbie here, so sorry if I made mistakes or are missing the obvious.

On compiling ($ idf.py build), I got these errors:
image

To make them go away, I had to go into $ idf.py menuconfig and set this:
image
image

And then the compiler gave no errors.

On uploading it to the device, all the colors were inverted. So I had to set:
image

Which made it run perfectly.

Is this as expected?

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.