Search found 7 matches

by tuupola
Sat Feb 20, 2021 11:33 pm
Forum: ESP-IDF
Topic: ESP32 TFT Library using IDF?
Replies: 3
Views: 9657

Re: ESP32 TFT Library using IDF?

You could check HAGL which is a lightweight hardware agnostic graphics library. It does not contain any hardware or platform specific code. You can use it with any microcontroller including ESP32 and esp-idf. Being hardware agnostic means user has to provide a HAL. There is a HAL for ESP32 which sup...
by tuupola
Tue Jun 09, 2020 6:52 pm
Forum: Showcase
Topic: Hardware Agnostic Graphics Library
Replies: 3
Views: 7308

Re: Hardware Agnostic Graphics Library

Yeah. Also need to support transparent background color with fonts. I have been pondering if there should be separate functions for fonts and sprites. Sprites would act similar to way you described. Custom "player/missile" fonts would be possible for fast mini-games! (Yeah, I grew up with an Atari 8...
by tuupola
Tue Jun 09, 2020 2:18 pm
Forum: Showcase
Topic: Hardware Agnostic Graphics Library
Replies: 3
Views: 7308

Hardware Agnostic Graphics Library

https://appelsiini.net/img/2020/esp-effects.jpg HAGL is a lightweight hardware agnostic graphics library. It does not contain any hardware specific code. You can use it with any microcontroller including ESP32 and esp-idf. I have been working on and off with it for a while, mostly to scratch my own...
by tuupola
Mon May 25, 2020 2:38 pm
Forum: ESP-IDF
Topic: 2D graphic lib for ESP-IDF ?
Replies: 6
Views: 11247

Re: 2D graphic lib for ESP-IDF ?

If you are looking for library to draw graphical primitives and want to get rid of Arduino stuff check HAGL. It is still work in progress but API should be 80% stable. You need to provide it with HAL which has putpixel function for your e-paper display.

https://github.com/tuupola/hagl
by tuupola
Sat May 23, 2020 6:51 am
Forum: ESP32 Arduino
Topic: Decoding mjpg stream to esp32
Replies: 2
Views: 7169

Re: Decoding mjpg stream to esp32

ESP32 is capable of playing 320x240 MJPEG video approximately 8-9 fps. This probably could be tuned up to 12 fps. I made a proof of concept video player which plays RAW RGB565 and MJPEG videos from sd card. You could probably use that as a starting point. It is ESP-IDF but probably could be ported t...
by tuupola
Wed Feb 20, 2019 4:18 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 443
Views: 939364

Re: What would you like to see in The Next Chip?

Only thing I am personally missing at the moment is more I2C controllers. I have a hobby project which requires to be able to act as four I2C slave devices.
by tuupola
Fri Apr 20, 2018 4:09 am
Forum: General Discussion
Topic: FreeRTOS startup times
Replies: 0
Views: 3226

FreeRTOS startup times

What are the expected startup times with ESP32 and FreeRTOS. I made a a test program which simply drives GPIO_NUM_12 high. When checking with scope it takes around 690ms for the pin to go high after power has been applied. void app_main() { gpio_pad_select_gpio(GPIO_NUM_12); gpio_set_direction(GPIO_...