Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
22
#ifndef BOARD_H
23
#define BOARD_H
24
25
#include "board_common.h"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
35
#define MICROBIT_LED_COL1 GPIO_PIN(0, 4)
36
#define MICROBIT_LED_COL2 GPIO_PIN(0, 5)
37
#define MICROBIT_LED_COL3 GPIO_PIN(0, 6)
38
#define MICROBIT_LED_COL4 GPIO_PIN(0, 7)
39
#define MICROBIT_LED_COL5 GPIO_PIN(0, 8)
40
#define MICROBIT_LED_COL6 GPIO_PIN(0, 9)
41
#define MICROBIT_LED_COL7 GPIO_PIN(0, 10)
42
#define MICROBIT_LED_COL8 GPIO_PIN(0, 11)
43
#define MICROBIT_LED_COL9 GPIO_PIN(0, 12)
44
#define MICROBIT_LED_ROW1 GPIO_PIN(0, 13)
45
#define MICROBIT_LED_ROW2 GPIO_PIN(0, 14)
46
#define MICROBIT_LED_ROW3 GPIO_PIN(0, 15)
53
#define BTN0_PIN GPIO_PIN(0, 17)
54
#define BTN0_MODE GPIO_IN
55
#define BTN1_PIN GPIO_PIN(0, 16)
56
#define BTN1_MODE GPIO_IN
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
/* BOARD_H */
Generated on Sat Nov 23 2024 01:58:05 by
1.9.8