YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
include
board
msp432-launchpad
boostxl_eduMKII.h
1
// ---------------------------------------------
2
// This file is part of
3
// _ _ __ _ _ __ __
4
// ( \/ ) /__\ ( )_( ) /__\ ( )
5
// \ / /(__)\ ) _ ( /(__)\ )(__
6
// (__)(__)(__)(_) (_)(__)(__)(____)
7
//
8
// Yet Another HW Abstraction Library
9
// Copyright (C) Andreas Terstegge
10
// BSD Licensed (see file LICENSE)
11
//
12
// ---------------------------------------------
13
//
14
// This file defines the hardware components
15
// on the Educational Booterpack MKII from TI,
16
// when used with a MSP432 Launchpad.
17
//
18
#ifndef _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
19
#define _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
20
21
// Big Buttons
22
#define BUTTON1 PORT_PIN(5,1)
23
#define BUTTON2 PORT_PIN(3,5)
24
// 3 color LED
25
#define RGB_LED_RED PORT_PIN(2,6)
26
#define RGB_LED_GREEN PORT_PIN(2,4)
27
#define RGB_LED_BLUE PORT_PIN(5,6)
28
// Buzzer
29
#define BUZZER PORT_PIN(2,7)
30
// Gator holes
31
#define GATOR PORT_PIN(2,3)
32
// Servo PWM signal
33
#define SERVO PORT_PIN(2,5)
34
// LCD
35
#define LCD_MISO
36
#define LCD_MOSI
37
#define LCD_SCLK
38
#define LCD_CS PORT_PIN(5,0)
39
#define LCD_RST PORT_PIN(5,7)
40
#define LCD_DC PORT_PIN(3,7)
41
// I2C sensors
42
#define SENSOR_SDA
43
#define SENSOR_SCL
44
#define OPT3001_INT PORT_PIN(4,6)
45
#define TMP006_INT PORT_PIN(3,6)
46
// Joystick
47
#define JOY_X 15
48
#define JOY_Y 9
49
#define JOY_BUTTON PORT_PIN(4,1)
50
// Microphone
51
#define MIC 10
52
// Accelerometer
53
#define ACC_X 14
54
#define ACC_Y 13
55
#define ACC_Z 11
56
57
#endif
// _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
Generated by
1.12.0