Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liyanboy74/gc9a01-esp-idf
GC9A01 ESP-IDF Component for ESP32
https://github.com/liyanboy74/gc9a01-esp-idf
component esp-idf esp32 gc9a01
Last synced: about 1 month ago
JSON representation
GC9A01 ESP-IDF Component for ESP32
- Host: GitHub
- URL: https://github.com/liyanboy74/gc9a01-esp-idf
- Owner: liyanboy74
- License: bsd-3-clause
- Created: 2021-03-15T12:35:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T13:15:38.000Z (11 months ago)
- Last Synced: 2024-01-21T14:28:16.534Z (11 months ago)
- Topics: component, esp-idf, esp32, gc9a01
- Language: C
- Homepage:
- Size: 276 KB
- Stars: 29
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# GC9A01 ESP-IDF Component
Clone to `components` folder and run `idf.py menuconfig`
![ESP-IDF_menuconfig](https://user-images.githubusercontent.com/64005694/111914456-43582400-8a87-11eb-9173-375262b5a261.jpg)
**Add as submodule:**
`git submodule add https://github.com/liyanboy74/gc9a01-esp-idf.git components/gc9a01`
**Example Test:**
```c
#include
#include
#include
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/gpio.h"
#include "sdkconfig.h"#include "gc9a01.h"
#define STACK_SIZE 2048
void LCD(void * arg)
{
uint16_t Color;
GC9A01_Init();
for(;;)
{
Color=rand();
GC9A01_FillRect(0,0,239,239,Color);
GC9A01_Update();
vTaskDelay(1000/portTICK_PERIOD_MS);
}
}void app_main(void)
{
TaskHandle_t LCDHandle;xTaskCreate(LCD,"Test LCD",STACK_SIZE,NULL,tskIDLE_PRIORITY,&LCDHandle);
configASSERT(LCDHandle);
}```
- If you succeed, it's time to go one layer higher! Try [Dispcolor](https://github.com/liyanboy74/dispcolor)
- You can also use the [BMP24 to RGB565](https://github.com/liyanboy74/bmp24-to-rgb565) tools to convert and display images