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