YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
include
board
rp2350-launchpad
v1.0
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 RP2350 Launchpad.
17
//
18
#ifndef _RP2350_LAUNCHPAD_BOOSTXL_EDUMKII_H_
19
#define _RP2350_LAUNCHPAD_BOOSTXL_EDUMKII_H_
20
21
// Big Buttons
22
#define EDU_BUTTON1 15
23
#define EDU_BUTTON2 17
24
25
// 3 color LED
26
#define EDU_RGB_RED 24
27
#define EDU_RGB_GREEN 22
28
#define EDU_RGB_BLUE 20
29
30
// Buzzer
31
#define EDU_BUZZER 25
32
33
// Gator holes
34
#define EDU_GATOR 16
35
36
// Servo PWM signal
37
#define EDU_SERVO 23
38
39
// LCD
40
#define EDU_LCD_MISO 12
41
#define EDU_LCD_MOSI 11
42
#define EDU_LCD_SCLK 30
43
#define EDU_LCD_CS 13
44
#define EDU_LCD_RST 19
45
#define EDU_LCD_DC 9
46
#define EDU_LCD_BL 24
47
48
// I2C sensors
49
#define EDU_I2C_SDA 34
50
#define EDU_I2C_SCL 35
51
#define EDU_OPT3001_INT 36
52
#define EDU_TMP006_INT 1
53
54
// Joystick button
55
#define EDU_JOY_BUTTON 31
56
57
// Joystick ADC channels
58
#define EDU_JOY_X 0
59
#define EDU_JOY_Y 5
60
61
// Microphone ADC channel
62
#define EDU_MIC 4
63
64
// Accelerometer ADC channels
65
#define EDU_ACC_X 1
66
#define EDU_ACC_Y 2
67
#define EDU_ACC_Z 3
68
69
#endif
// _RP2350_LAUNCHPAD_BOOSTXL_EDUMKII_H_
Generated by
1.12.0