YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
src
boards
msp432-launchpad
boostxl_eduMKII.h
1
2
#ifndef _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
3
#define _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
4
5
// Big Buttons
6
#define BUTTON1 PORT_PIN(5,1)
7
#define BUTTON2 PORT_PIN(3,5)
8
// 3 color LED
9
#define RGB_LED_RED PORT_PIN(2,6)
10
#define RGB_LED_GREEN PORT_PIN(2,4)
11
#define RGB_LED_BLUE PORT_PIN(5,6)
12
// Buzzer
13
#define BUZZER PORT_PIN(2,7)
14
// Gator holes
15
#define GATOR PORT_PIN(2,3)
16
// Servo PWM signal
17
#define SERVO PORT_PIN(2,5)
18
// LCD
19
#define LCD_MISO
20
#define LCD_MOSI
21
#define LCD_SCLK
22
#define LCD_CS PORT_PIN(5,0)
23
#define LCD_RST PORT_PIN(5,7)
24
#define LCD_DC PORT_PIN(3,7)
25
// I2C sensors
26
#define SENSOR_SDA
27
#define SENSOR_SCL
28
#define OPT3001_INT PORT_PIN(4,6)
29
#define TMP006_INT PORT_PIN(3,6)
30
// Joystick
31
#define JOY_X 15
32
#define JOY_Y 9
33
#define JOY_BUTTON PORT_PIN(4,1)
34
// Microphone
35
#define MIC 10
36
// Accelerometer
37
#define ACC_X 14
38
#define ACC_Y 13
39
#define ACC_Z 11
40
41
#include "boostxl_eduMKII_base.h"
42
43
struct
boostxl_eduMKII
:
public
boostxl_eduMKII_base
{
44
boostxl_eduMKII
();
45
void
inject();
46
};
47
48
#endif
// _MSP432_LAUNCHPAD_BOOSTXL_EDUMKII_H_
boostxl_eduMKII_base
Definition
boostxl_eduMKII_base.h:12
boostxl_eduMKII
Definition
boostxl_eduMKII.h:43
Generated by
1.12.0