mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
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
|
||||
|
||||
# We want to test the Calliope mini support module
|
||||
USEMODULE += mini
|
||||
USEMODULE += microbit
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "timex.h"
|
||||
#include "mini.h"
|
||||
#include "microbit.h"
|
||||
|
||||
#define DELAY (120 * US_PER_MS)
|
||||
|
||||
@ -30,10 +30,10 @@ int main(void)
|
||||
puts("Welcome to RIOT!\n");
|
||||
puts("Please refer to the README.md for more information about this app\n");
|
||||
|
||||
mini_matrix_init();
|
||||
microbit_matrix_init();
|
||||
|
||||
while (1) {
|
||||
mini_matrix_shift_str("Welcome RIOT @ Calliope mini!", DELAY);
|
||||
microbit_matrix_shift_str("Welcome RIOT @ Calliope mini!", DELAY);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user