Hello Theodoros Verykios,
I have attached a project, which already contains the pio0_13 pin interrupt.
I find your code:
LPC_SYSCON->PINTSEL[0] = (uint32_t) 0;
It should be:
LPC_SYSCON->PINTSEL[0] = (uint32_t) 13;
More details, please check my attached code.
Wish it helps you!
If you still have question, after you check it, please let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------