Hi everyone, i just tried a reception of a char by interrupt rutine (UART_OnBlockReceived), but it'n work, nthis is my code:
/*On events.c*/
void UART_OnBlockReceived(LDD_TUserData *UserDataPtr) {
/* Write your code here ... */
UART_ReceiveBlock(SharedInst1_DeviceData,&input_temp,1);
LEDS_PutBit(0,0); //TURN ON LED, NO WORK
}
i attatch a screenshoots
Why interrupts no work?
thanks
hi, thank you very much, i've solved it, i didn't know "Help component" item.
Thanks again!
Hi Ricard Comas,
Please refer the Typical Usage of Serial_LDD.
I have test it on FRDM-KE06Z board, the LED is able to toggle when 'e' is received.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------