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 ...
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: ...