Capture LPC1115

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Capture LPC1115

1,007 Views
melissamantey
Contributor I

Hi! I'm trying to use a GPIO interrupt to light an LED when a square wave input changes from 0V to 3.3V and I need a good example of how to use capture. I cannot find one, any suggestions? I'm using the LPC1115

0 Kudos
Reply
1 Reply

870 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Melissa Mantey,

    Please download the lpc11xx code from this link:

1. IAR and MDK project

Sample Code Bundle for LPC11xx Peripherals using Keil's MDK-ARM | www.LPCware.com 

2. LPCXpresso IDE project

Sample Code Bundle for LPC11xx Peripherals using NXP LPCXpresso | www.LPCware.com 

    Then, refer to GPIO code:

lpc11xx.keil-examples-CMSIS-update\gpio

   This code have the GPIO interrupt, when you get the rising interrupt, you can control the LED to light.

Wish it helps you!

If you still have question, please let me know!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply