tests/board_calliope-mini: use microbit common module
This commit is contained in:
parent
b0fa356ec6
commit
d71388c58e
@ -5,6 +5,6 @@ include ../Makefile.tests_common
|
|||||||
BOARD_WHITELIST := calliope-mini
|
BOARD_WHITELIST := calliope-mini
|
||||||
|
|
||||||
# We want to test the Calliope mini support module
|
# We want to test the Calliope mini support module
|
||||||
USEMODULE += mini
|
USEMODULE += microbit
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
@ -21,7 +21,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "timex.h"
|
#include "timex.h"
|
||||||
#include "mini.h"
|
#include "microbit.h"
|
||||||
|
|
||||||
#define DELAY (120 * US_PER_MS)
|
#define DELAY (120 * US_PER_MS)
|
||||||
|
|
||||||
@ -30,10 +30,10 @@ int main(void)
|
|||||||
puts("Welcome to RIOT!\n");
|
puts("Welcome to RIOT!\n");
|
||||||
puts("Please refer to the README.md for more information about this app\n");
|
puts("Please refer to the README.md for more information about this app\n");
|
||||||
|
|
||||||
mini_matrix_init();
|
microbit_matrix_init();
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
mini_matrix_shift_str("Welcome RIOT @ Calliope mini!", DELAY);
|
microbit_matrix_shift_str("Welcome RIOT @ Calliope mini!", DELAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user