/*
 * main.c
 *
 * SysTick Timer
 *
 * Created: 24. 3. 2016
 * Author: Robo Ulbricht
 * www: http://www.arduinoslovakia.eu
 */ 

#include <asf.h>
#include "arduino.h"

int main (void)
{
system_init();
rurInit();
SysTick_Config(system_gclk_gen_get_hz(GCLK_GENERATOR_0));
  
while (1) {
  }
}

void SysTick_Handler(void)
{
port_pin_toggle_output_level(LED_0_PIN);
nextStep();
}