mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
38 lines
660 B
C
38 lines
660 B
C
/*
|
|
* SPDX-FileCopyrightText: 2016 Freie Universität Berlin
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
/**
|
|
* @ingroup tests
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Test the BBC micro:bit support library
|
|
*
|
|
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "timex.h"
|
|
#include "microbit.h"
|
|
|
|
#define DELAY (120 * US_PER_MS)
|
|
|
|
int main(void)
|
|
{
|
|
puts("Welcome to RIOT!\n");
|
|
puts("Please refer to the README.md for more information about this app\n");
|
|
|
|
microbit_matrix_init();
|
|
|
|
while (1) {
|
|
microbit_matrix_shift_str("Welcome RIOT @ micro:bit!", DELAY);
|
|
}
|
|
|
|
return 0;
|
|
}
|