1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/projects/long_term/main.c

19 lines
309 B
C
Raw Normal View History

#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);
}
}