ltg
Member level 4
Hi,
I'm trying to learn me MPS430F1121 with IAR C-compiler. But I'm confused when I declera two pins as output and one as input. I think I don't understand P1DIR, P1SEL, P1IN, P1OUT.
Could some of you please show me how to declera two pins as output and one pin as input. When should I use P1SEL? Thank you very much!
Best Regards,
ltg
I'm trying to learn me MPS430F1121 with IAR C-compiler. But I'm confused when I declera two pins as output and one as input. I think I don't understand P1DIR, P1SEL, P1IN, P1OUT.
Could some of you please show me how to declera two pins as output and one pin as input. When should I use P1SEL? Thank you very much!
Best Regards,
ltg