UART to control the led

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by wzq12138 on Sun Aug 25 23:49:53 MST 2013
my bord is lpc11c24,and I want a code ,the code can control the led on p1-20.in fact ,I want to use the uart to control the led on p1-20.the main is that when i send a code like FF or anything onthers ,the led on p1-20 will be lighten,and then when i send a code from the computer by the uart,the led on p1-20 will not be lighten .my english is poor ,do you understand me ,can you write the code for me ,thank you very much.