Hi Cheng yo huang,
This code is working in revB, but LPCXpress54618 rev C need to take care JS34, JS35, you need to modify the board connect, you need solder it in the correct position.

Besides, you need to connect JP6.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------