Read all instructions Write an MSP430g2553 C program to driv
Read all instructions.
Esteban Montanez
Use two seven segment LED segment devices to show the text (two characters at a time) at a reasonable reading rate.
Read all instructions.
Esteban Montanez
Use two seven segment LED segment devices to show the text (two characters at a time) at a reasonable reading rate.
Read all instructions.
Esteban Montanez
Use two seven segment LED segment devices to show the text (two characters at a time) at a reasonable reading rate.
Solution
#include <msp430g2553.h>
int main(void) {
volatile int i;
WDTCTL = WDTPW | WDTHOLD;
P1DIR = 0x01;
P1OUT = 0x00;
for (;;) {
P1OUT ^= 0x01;
for (i = 0; i < 0x6000; i++);
}
}
