Skip to content

Commit 59ebd6b

Browse files
committed
Merge branch 'feat/update_examples' into 'master'
feat: update keyboard and usb extern lcd examples See merge request ae_group/esp-iot-solution!1075
2 parents 056c9f8 + deb258c commit 59ebd6b

File tree

7 files changed

+16
-5
lines changed

7 files changed

+16
-5
lines changed

examples/keyboard/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ Note: keyboard_rgb_martix comes from the **QMK** project. Due to the use of the
7878

7979
### Change LOG
8080

81+
* v0.2.1 - 2024-08-12
82+
83+
- Added debounce time to prevent buttons from being triggered twice consecutively.
84+
- The speed of the heatmap lighting effect can now be adjusted according to the effect speed, with levels ranging from 1 to 4.
85+
8186
* v0.2.0 - 2024-8-12
8287

8388
* Added support for lighting effects in BLE mode, with the keyboard backlight turning off by default after 60 seconds.

examples/keyboard/README_cn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ Note: keyboard_rgb_martix 来自 **QMK** 工程,由于使用 GPL 协议,如
7878

7979
#### Change LOG
8080

81+
* v0.2.1 - 2024-8-12
82+
83+
* 增加消抖时间,避免按键连续触发两次
84+
* 热力图灯效的速度可以跟随灯效速度调节,为 1-4 档
85+
8186
* v0.2.0 - 2024-8-12
8287

8388
* BLE 模式下支持灯效,默认 60s 关闭键盘灯光

examples/keyboard/components/esp32_s3_kbd_kit/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ dependencies:
1414
led_strip:
1515
version: "^2.5.3"
1616

17-
lijunru-hub/keyboard_rgb_matrix: "^0.1.1"
17+
lijunru-hub/keyboard_rgb_matrix: "^0.1.2"

examples/keyboard/components/esp32_s3_kbd_kit/include/bsp/keyboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ extern "C" {
1111

1212
/*!< Keyboard active level */
1313
#define KBD_ATTIVE_LEVEL 1
14-
#define KBD_TICKS_INTERVAL_US 500
14+
#define KBD_TICKS_INTERVAL_US 1000
1515

1616
/*!< Keyboard matrix GPIO */
1717
#define KBD_ROW_NUM 6

examples/keyboard/main/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.2.0
1+
version: 0.2.1
22
dependencies:
33
idf: ">=5.2"
44
espressif/tinyusb:

examples/usb/device/usb_extend_screen/main/app_uac.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ static esp_err_t uac_device_input_cb(uint8_t *buf, size_t len, size_t *bytes_rea
2929

3030
static void uac_device_set_mute_cb(uint32_t mute, void *arg)
3131
{
32-
ESP_LOGI(TAG, "uac_device_set_mute_cb: %"PRIu32"", mute);
32+
ESP_LOGD(TAG, "uac_device_set_mute_cb: %"PRIu32"", mute);
3333
bsp_extra_codec_mute_set(mute);
3434
}
3535

3636
static void uac_device_set_volume_cb(uint32_t volume, void *arg)
3737
{
38-
ESP_LOGI(TAG, "uac_device_set_volume_cb: %"PRIu32"", volume);
38+
ESP_LOGD(TAG, "uac_device_set_volume_cb: %"PRIu32"", volume);
3939
bsp_extra_codec_volume_set(volume, NULL);
4040
}
4141

examples/usb/device/usb_extend_screen/main/idf_component.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ dependencies:
66
leeebo/tinyusb_src:
77
version: "*"
88
espressif/esp_lcd_ek79007: "*"
9+
espressif/esp_codec_dev: "1.3.0"

0 commit comments

Comments
 (0)