mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
41 lines
842 B
C
41 lines
842 B
C
/*
|
|
* main.c - Main function of the SRF02 ultrasonic sensor project.
|
|
* Copyright (C) 2013 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup boards_msba2
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief MSB-A2 board initialization
|
|
*
|
|
* @author Heiko Will
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
* @author Michael Baar <baar@inf.fu-berlin.de>
|
|
* @author Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
|
|
*
|
|
* @note $Id$
|
|
*/
|
|
|
|
#include "board.h"
|
|
#include "cpu.h"
|
|
#include "periph/init.h"
|
|
#include "stdio_base.h"
|
|
|
|
void board_init(void)
|
|
{
|
|
/* LEDS */
|
|
FIO3DIR |= LED0_MASK;
|
|
FIO3DIR |= LED1_MASK;
|
|
|
|
LED0_OFF;
|
|
LED0_OFF;
|
|
}
|