mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
19 lines
309 B
C
19 lines
309 B
C
#include <stdio.h>
|
|
#include <stdint.h>
|
|
#include <hwtimer.h>
|
|
#include <swtimer.h>
|
|
#include <board.h>
|
|
|
|
int main(void)
|
|
{
|
|
hwtimer_init();
|
|
swtimer_init();
|
|
uint32_t i = 0;
|
|
|
|
while (1) {
|
|
printf("(%10lu) Still running...\n", i++);
|
|
LED_RED_TOGGLE;
|
|
swtimer_usleep(10000);
|
|
}
|
|
}
|