Capture LPC1115

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Capture LPC1115

999 次查看
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 项奖励
回复
1 回复

862 次查看
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 项奖励
回复