Browse Source

Delete "Ejemplo.c"

master
AlbertoGV 1 year ago
parent
commit
910db13241
1 changed files with 0 additions and 20 deletions
  1. +0
    -20
      Ejemplo.c

+ 0
- 20
Ejemplo.c View File

@ -1,20 +0,0 @@
#include <msp430fr6989.h>
void main(void)
{
WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer
PM5CTL0 = 0x0000; // disable high impedance mode
P1DIR = 0x01; //set up bit 0 of P1 as output
P1OUT = 0x00; //initialize bit 0 of P1 to 0
for(;;){ //loop
volatile unsigned int i;
P1OUT ^= 0x01; //toggle bit 0 of P1
//Delay
for(i=40000; i>0;){
i--;
__no_operation();
}
}
}

Loading…
Cancel
Save