Skip to content

Commit

Permalink
Rotation updates, trying github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
krupis committed Jan 4, 2024
1 parent 3dc5084 commit a66773d
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 13 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
11 changes: 3 additions & 8 deletions components/lvgl_setup/lvgl_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,7 @@ void lvgl_setup()

esp_lcd_panel_swap_xy(panel_handle, true);

// WITHOUT 180 DEGREES ROTATION
// esp_lcd_panel_mirror(panel_handle, true, false); //Y AXIS SHIFTED BUT X AXIS OK
// esp_lcd_panel_mirror(panel_handle, true, true); //Y AXIS SHIFTED AND X AXIS SHIFTED
// esp_lcd_panel_mirror(panel_handle, false, false); //Everything is ok but its upside down
esp_lcd_panel_mirror(panel_handle, false, true); // Not upside down anymore but now the X axis is inverted
esp_lcd_panel_mirror(panel_handle, false, true);

// the gap is LCD panel specific, even panels with the same driver IC, can have different gap value
esp_lcd_panel_set_gap(panel_handle, 0, 35);
Expand Down Expand Up @@ -237,8 +233,8 @@ void lvgl_setup()

ESP_LOGI(TAG, "esp_lcd_new_panel_io_i2c");
ESP_ERROR_CHECK(esp_lcd_new_panel_io_i2c((esp_lcd_i2c_bus_handle_t)EXAMPLE_I2C_NUM, &tp_io_config, &tp_io_handle));
esp_lcd_touch_config_t tp_cfg = {

esp_lcd_touch_config_t tp_cfg = {
.x_max = 170,
.y_max = 320,
.rst_gpio_num = 21,
Expand All @@ -255,7 +251,6 @@ void lvgl_setup()
.interrupt_callback = touch_callback,
};


ESP_LOGI(TAG, "esp_lcd_touch_new_i2c_cst816s");
esp_lcd_touch_new_i2c_cst816s(tp_io_handle, &tp_cfg, &tp);
// END OF CST816 TOUCH TESTING FUNCTION
Expand Down
10 changes: 5 additions & 5 deletions dependencies.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies:
espressif/esp_lcd_touch:
component_hash: 6cc76832cda51d73353a7e8d7aa07073d6cdb75b1ad66e2d98badd768f6c830a
component_hash: d4d8f2dc33205797169a97a02e0d89a8982f59fe0509129b54422052b8522f59
source:
service_url: https://api.components.espressif.com/
type: service
version: 1.1.0
version: 1.1.1
espressif/esp_lcd_touch_cst816s:
component_hash: 270bd7df3a2a5cffa3a626c4709fc03237d83fd9daa6fb70c833a2f1875f0f68
source:
Expand Down Expand Up @@ -35,11 +35,11 @@ dependencies:
type: idf
version: 5.0.3
lvgl/lvgl:
component_hash: 51022b16bce6ee90f54a8bd21cd6d497d886916899b577b1bebb9125b91e23fc
component_hash: 948bff879a345149b83065535bbc4a026ce9f47498a22881e432a264b9098015
source:
service_url: https://api.components.espressif.com/
type: service
version: 8.3.10
manifest_hash: 53c308d573c91809c41f48bfc8c6756e6955c3e34e645b816f8ebfa9ac95e541
version: 8.3.11
manifest_hash: 8728514a18506146f6b236eaf50c669bf81c5c304393b1a73857af08908f5ddf
target: esp32s3
version: 1.0.0
2 changes: 2 additions & 0 deletions sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1934,12 +1934,14 @@ CONFIG_LV_USE_GRID=y
# CONFIG_LV_USE_FS_POSIX is not set
# CONFIG_LV_USE_FS_WIN32 is not set
# CONFIG_LV_USE_FS_FATFS is not set
# CONFIG_LV_USE_FS_LITTLEFS is not set
# CONFIG_LV_USE_PNG is not set
# CONFIG_LV_USE_BMP is not set
# CONFIG_LV_USE_SJPG is not set
# CONFIG_LV_USE_GIF is not set
# CONFIG_LV_USE_QRCODE is not set
# CONFIG_LV_USE_FREETYPE is not set
# CONFIG_LV_USE_TINY_TTF is not set
# CONFIG_LV_USE_RLOTTIE is not set
# CONFIG_LV_USE_FFMPEG is not set
# end of 3rd Party Libraries
Expand Down

0 comments on commit a66773d

Please sign in to comment.