EmbeddedRelated.com

Newbie wants to light Green and Red LED on Launchpad

Started by ulix_s in MSP43012 years ago 9 replies

Hello Everybody, I'm very new to programming in c and to the world of microcontrollers. I wanted to play around, but it didn't work...

Hello Everybody, I'm very new to programming in c and to the world of microcontrollers. I wanted to play around, but it didn't work out. P1DIR = BIT0; P1OUT = 1; ligts the red LED. but why doesn't light the with BIT6? P1DIR = BIT6; P1OUT = 1; but why doesn't light the with BIT6? ------------------------------------