Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: External interrupt program not working

$
0
0
Hi All, I am trying to use external interrupt with the following code using LPC1768 micro controller. I have connected P2.10 and P2.11 to switches and GPIO0 used to connect the LED's. When I press the switches no LED is going on Port 0. But after pressing reset the LEDs are glowing twice because of only reset button. And the code is shown below for your suggestion. #include<LPC17xx.h> #define EXTMODE0 0 #define EXTMODE1

Viewing all articles
Browse latest Browse all 3049

Trending Articles