0
votes
2answers
178 views

ARM LPC1751 pins configured as I/O

I'm new to microcontroller programming. How can i configure one pin for input and another for output. If I am not wrong this could be done with GPIO registers that control device pins that are not ...
4
votes
3answers
243 views

LPC2131 problem reading IO pins

I need to read a value from a DIP switch. It is connected to ports P1.16 till P1.21. I use following code: to initialize: ...