Capture LPC1115

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Capture LPC1115

1,033件の閲覧回数
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 返信

896件の閲覧回数
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 件の賞賛
返信