how to use TD_tools LED
Posted: Tue Jan 22, 2019 6:16 pm
Hi, I have problem with init of TD tools LED
myLED = TD_TOOLS_LED_Init (TIM2_PORT, TIM2_BIT, gpioDriveModeHigh , true);
I am having errors in console:
... libtdtools.a(td_tools_led.o): In function `TD_TOOLS_LED_SetPWM':
td_tools_led.c:(.text.TD_TOOLS_LED_SetPWM+0x20): undefined reference to `LETIMER_CompareSet'
td_tools_led.c:(.text.TD_TOOLS_LED_SetPWM+0x2c): undefined reference to `LETIMER_CompareSet'
...libtdtools.a(td_tools_led.o): In function `SetState':
td_tools_led.c:(.text.SetState+0x82): undefined reference to `LETIMER_Enable'
td_tools_led.c:(.text.SetState+0xac): undefined reference to `LETIMER_Enable'
can you help me please? Thank you
myLED = TD_TOOLS_LED_Init (TIM2_PORT, TIM2_BIT, gpioDriveModeHigh , true);
I am having errors in console:
... libtdtools.a(td_tools_led.o): In function `TD_TOOLS_LED_SetPWM':
td_tools_led.c:(.text.TD_TOOLS_LED_SetPWM+0x20): undefined reference to `LETIMER_CompareSet'
td_tools_led.c:(.text.TD_TOOLS_LED_SetPWM+0x2c): undefined reference to `LETIMER_CompareSet'
...libtdtools.a(td_tools_led.o): In function `SetState':
td_tools_led.c:(.text.SetState+0x82): undefined reference to `LETIMER_Enable'
td_tools_led.c:(.text.SetState+0xac): undefined reference to `LETIMER_Enable'
can you help me please? Thank you