12 Commits

Author SHA1 Message Date
4ebe172135 Updated the README 2020-08-28 14:10:28 +02:00
dac87b0c72 Final version of the demo
- Changing from RGB565 to Grayscale, Binarized and finally Canny edge
2020-08-28 13:43:10 +02:00
1cfabd2227 Modified lvgl init
- lvgl init was already done in `lvgl_gui` component (in `lvgl.c`), and this method called `lvgl_lcd_hal_init()`
- `lv_tick()` was also initialized to be called each 1ms
- `lv_task_handler()` was also initialized to be called each 5ms
2020-08-28 12:30:07 +02:00
5aa5363672 First working version of the OpenCV demo
- Getting the camera image
- Creating an OpenCV Mat object with it
- Creating an lv_img_dsc_t LVGL object
- Displaying it on the screen
2020-08-27 16:56:46 +02:00
4b50a9055d Configurations for the new lvgl version 2020-08-27 16:56:30 +02:00
7285fd4a9e now getting camera image in rgb565 instead of jpg 2020-08-27 16:55:35 +02:00
b48351499f Changed camera RGB565 Bytes order
- swapped to correspond to the display
2020-08-27 16:54:06 +02:00
525b94bf4a Updated lvgl version to the 7.3.1 2020-08-27 16:51:27 +02:00
abd5e1275c Modified sdkconfig :
- support array `rtc_gpio_desc` (used by camera)
- make RAM allocatable using malloc() as well (external SPI RAM)
- allow .bss segment placed in external memory (allows to save some internal memory)
2020-08-27 14:33:37 +02:00
d2ea7d585c Rotated the displayed image because camera is in the back of the TTGO 2020-08-26 11:16:41 +02:00
dd2f5f0ca8 Workaround for 240x240 screen rotation issue
- The st7789 controller is for 320x240 screen, but the screen is 240x240, therefore when screen is rotated, an offset of 80 must be added depending on the orientation
- Also added some comments
2020-08-26 11:14:01 +02:00
f5896a3609 First commit to add an example with the TTGO Camera Plus device
- For now, the example gets an image from the camera and puts it on the LCD
	- TODO: image is rotated and refresh rate not good
2020-08-25 16:52:45 +02:00