lpcware

LPC1114 UART Sample Code

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by xyronne@gmail.com on Tue Dec 04 10:10:58 MST 2012
Hello to all the masters out there.

I am using LPC1114. Can anyone show me a sample code other than the sample given by LPCExpresso about UART?

Here's what I need,

I want to have a program that can do the following
1. using any gpio as input (tact switch)
2. every time this switch is press, it will send a string command to my modem - the command is "AT"
3. it will wait for the response from the device, once it will receive the response "OK", it will then off a led connected to other gpio
4. then it will wait for another press

Hope you guys can help me. Thanks in advance.

Outcomes