1
0
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:
Alexandre Abadie 2021-11-03 11:52:53 +01:00
parent b0fa356ec6
commit d71388c58e
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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;