Digital Output: LED on P1.0

Configures P1.0 as output through P1DIR and drives the LED with the three bit instructions: BIS sets the bit (LED on), XOR toggles it, BIC clears it (LED off).

What to watch as you step

Open this example