This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC 2148 Push Button interrupt problem

I am currently using LPC 2148.

I have a push button attached to port 0.15 and with every push the push button makes the pin high.

I want to count the push and with every push i want to store it into a variable and do some conversions at every push and Send the conversion data to LCD.

Can anyone guide me with the syntax, whether i should use interrupt or counter for the same?.

Parents
  • HI...i am also facing the issue. How could I set this global bit?Which is the one?Do you have an example?Note that I am a begineer in microcontroller programming.Thanks ahead of time for your input.

Reply
  • HI...i am also facing the issue. How could I set this global bit?Which is the one?Do you have an example?Note that I am a begineer in microcontroller programming.Thanks ahead of time for your input.

Children
No data