Electronics - MSP430 - Using P1OUT and P2OUT registers of the LaunchPad to manipulate LEDs with bit shifting
After creating a software to count in binary , let’s see how bit shifting works. In this tutorial we are going to see how to turn on and off a single LED each time we will be using the left bit shifting. But what is interesting, in this video example, it’s that we will be manipulate GPIOs with P1OUT and P2OUT registers. Let’s get started. What do we need? In order to have exactly the same example as in the video, let’s see which electronic stuff we need: ...