-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathled.c
28 lines (24 loc) · 903 Bytes
/
led.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//------------------------------------------------------------------------------
//
// Description: This file contains LED initialization and functions
//
//
// Cameron Koegel
// Jan 2020
// Built with IAR Embedded Workbench Version: V7.12.4
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
#include "functions.h"
#include "msp430.h"
#include "macros.h"
// Function Prototypes
void Init_LEDs(void);
void Init_LEDs(void){
//------------------------------------------------------------------------------
// LED Configurations
//------------------------------------------------------------------------------
// Turns off both LEDs
P1OUT &= ~RED_LED;
P6OUT &= ~GRN_LED;
//------------------------------------------------------------------------------
}