yuankan 发表于 2023-9-26 09:03:50

谢谢。

srkn 发表于 2023-10-24 21:06:42

thanks

manish12 发表于 2023-11-1 23:41:07

Thanks for sharing, studying

manish12 发表于 2023-11-7 09:42:43

pla landlord, what about the 5144, what value and which file i need to edit ,
pio_if.h
pio_common.h
headset_led.h
headset_leds_config_table.c
headset_led.c
pio_common.h
which one i need to edit, not seen sililar to CHIP_LED_BASE_PIO=58, CHIP_NUM_LEDS=3, and change HAVE_1_LED to HAVE_3_LEDS. R

manish12 发表于 2023-11-7 12:39:46

i found from file headset.debug.mak, here we need to change ?


BUILDOUTPUT_PATH=depend_debug_qcc514x_qcc304x
BUILD_ID=../../../adk/tools/packages/buildid/examples/adk_buildid.py
BUILD_TYPE=RELEASE
CHIP_NAME=QCC514x_apps
CHIP_TYPE=qcc514x_qcc304x
DBG_CORE=app/p1
DEFAULT_LIBS=usb_early_init
DEFS=APTX_ADAPTIVE_SUPPORT_96K \
    AV_DEBUG \
    BLUELAB \
    BOARD_TX_POWER_PATH_LOSS=236 \
    CHIP_LED_BASE_PIO=58 \
    CHIP_NUM_LEDS=3 \
    DEBUG \
    DISABLE_ABSOLUTE_VOLUME_SUPRESSION \
    DISABLE_TWS_PLUS \
    DOWNLOAD_VOLUME_CONTROL \

manish12 发表于 2023-11-7 21:13:52

what is the value of CHIP_LED_BASE_PIO for 5144 ?, plz help

鸣飞 发表于 2023-11-8 11:15:29

manish12 发表于 2023-11-7 21:13
what is the value of CHIP_LED_BASE_PIO for 5144 ?, plz help

这个代码应该能找到定义吧

manish12 发表于 2023-11-8 11:49:48

i kept the CHIP_LED_BASE_PIO=74, and 3 LEDS , still it not flashing it only glow, no pattern , any thing is missing in my setting

深圳市 发表于 2023-11-13 18:20:20

学习

moyanming2013 发表于 2023-11-14 15:28:25

manish12 发表于 2023-11-8 11:49
i kept the CHIP_LED_BASE_PIO=74, and 3 LEDS , still it not flashing it only glow, no pattern , any t ...

the ADK only use the pure PIO but not PWM for a low power consumption.
but you can add PWM function as you wish.
页: 1 [2] 3
查看完整版本: QCC3084打开LED1,LED2,LED3的方法。