From 70af01e8de04f743f69c97048285c23e5234aa6f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Sep 2015 13:14:46 +0100 Subject: working_bracelet --- bsp/bracelet.h | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 bsp/bracelet.h (limited to 'bsp/bracelet.h') diff --git a/bsp/bracelet.h b/bsp/bracelet.h new file mode 100644 index 0000000..dc1e7d0 --- /dev/null +++ b/bsp/bracelet.h @@ -0,0 +1,101 @@ +/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. + * + * The information contained herein is property of Nordic Semiconductor ASA. + * Terms and conditions of usage are described in detail in NORDIC + * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. + * + * Licensees are granted free, non-transferable use of the information. NO + * WARRANTY of ANY KIND is provided. This heading must NOT be removed from + * the file. + * + */ +#ifndef BLE400_H +#define BLE400_H + +// LEDs definitions for BLE400 +#define LEDS_NUMBER 1 + +#define LED_START 22 +#define LED_0 22 +#define LED_STOP 22 + +#define LEDS_LIST { LED_0 } + +#define BSP_LED_0 LED_0 + +#define BSP_LED_0_MASK (1<