Loading...
Searching...
No Matches
board.h File Reference

This board is for calliope-mini revision 1.0. More...

Detailed Description

This board is for calliope-mini revision 1.0.

Board specific configuration for the Calliope mini

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file board.h.

#include "board_common.h"
+ Include dependency graph for board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

LED matrix pin configuration

#define MICROBIT_LED_COL1   GPIO_PIN(0, 4)
 LED Column 1.
 
#define MICROBIT_LED_COL2   GPIO_PIN(0, 5)
 LED Column 2.
 
#define MICROBIT_LED_COL3   GPIO_PIN(0, 6)
 LED Column 3.
 
#define MICROBIT_LED_COL4   GPIO_PIN(0, 7)
 LED Column 4.
 
#define MICROBIT_LED_COL5   GPIO_PIN(0, 8)
 LED Column 5.
 
#define MICROBIT_LED_COL6   GPIO_PIN(0, 9)
 LED Column 6.
 
#define MICROBIT_LED_COL7   GPIO_PIN(0, 10)
 LED Column 7.
 
#define MICROBIT_LED_COL8   GPIO_PIN(0, 11)
 LED Column 8.
 
#define MICROBIT_LED_COL9   GPIO_PIN(0, 12)
 LED Column 9.
 
#define MICROBIT_LED_ROW1   GPIO_PIN(0, 13)
 LED Row 1.
 
#define MICROBIT_LED_ROW2   GPIO_PIN(0, 14)
 LED Row 2.
 
#define MICROBIT_LED_ROW3   GPIO_PIN(0, 15)
 LED Row 3.
 

Button configuration

#define BTN0_PIN   GPIO_PIN(0, 17)
 
#define BTN0_MODE   GPIO_IN
 
#define BTN1_PIN   GPIO_PIN(0, 16)
 
#define BTN1_MODE   GPIO_IN
 

Macro Definition Documentation

◆ BTN0_MODE

#define BTN0_MODE   GPIO_IN

Definition at line 54 of file board.h.

◆ BTN0_PIN

#define BTN0_PIN   GPIO_PIN(0, 17)

Definition at line 53 of file board.h.

◆ BTN1_MODE

#define BTN1_MODE   GPIO_IN

Definition at line 56 of file board.h.

◆ BTN1_PIN

#define BTN1_PIN   GPIO_PIN(0, 16)

Definition at line 55 of file board.h.

◆ MICROBIT_LED_COL1

#define MICROBIT_LED_COL1   GPIO_PIN(0, 4)

LED Column 1.

Definition at line 35 of file board.h.

◆ MICROBIT_LED_COL2

#define MICROBIT_LED_COL2   GPIO_PIN(0, 5)

LED Column 2.

Definition at line 36 of file board.h.

◆ MICROBIT_LED_COL3

#define MICROBIT_LED_COL3   GPIO_PIN(0, 6)

LED Column 3.

Definition at line 37 of file board.h.

◆ MICROBIT_LED_COL4

#define MICROBIT_LED_COL4   GPIO_PIN(0, 7)

LED Column 4.

Definition at line 38 of file board.h.

◆ MICROBIT_LED_COL5

#define MICROBIT_LED_COL5   GPIO_PIN(0, 8)

LED Column 5.

Definition at line 39 of file board.h.

◆ MICROBIT_LED_COL6

#define MICROBIT_LED_COL6   GPIO_PIN(0, 9)

LED Column 6.

Definition at line 40 of file board.h.

◆ MICROBIT_LED_COL7

#define MICROBIT_LED_COL7   GPIO_PIN(0, 10)

LED Column 7.

Definition at line 41 of file board.h.

◆ MICROBIT_LED_COL8

#define MICROBIT_LED_COL8   GPIO_PIN(0, 11)

LED Column 8.

Definition at line 42 of file board.h.

◆ MICROBIT_LED_COL9

#define MICROBIT_LED_COL9   GPIO_PIN(0, 12)

LED Column 9.

Definition at line 43 of file board.h.

◆ MICROBIT_LED_ROW1

#define MICROBIT_LED_ROW1   GPIO_PIN(0, 13)

LED Row 1.

Definition at line 44 of file board.h.

◆ MICROBIT_LED_ROW2

#define MICROBIT_LED_ROW2   GPIO_PIN(0, 14)

LED Row 2.

Definition at line 45 of file board.h.

◆ MICROBIT_LED_ROW3

#define MICROBIT_LED_ROW3   GPIO_PIN(0, 15)

LED Row 3.

Definition at line 46 of file board.h.