Lizzy project

Dependencies:   aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT

Committer:
dbartolovic
Date:
Thu Sep 20 07:34:35 2018 +0000
Branch:
testing-ignore
Revision:
24:7539258b015c
Parent:
8:7ba4f82de9b6
Not a branch to be ignored, added proj_config, changed logic.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dbartolovic 8:7ba4f82de9b6 1 #ifndef __BSP_H__
dbartolovic 8:7ba4f82de9b6 2 #define __BSP_H__
dbartolovic 8:7ba4f82de9b6 3
dbartolovic 8:7ba4f82de9b6 4 #include "main.h"
dbartolovic 24:7539258b015c 5 #include "bspAcc.h"
dbartolovic 8:7ba4f82de9b6 6
dbartolovic 8:7ba4f82de9b6 7 #if NANO_MODULE
dbartolovic 8:7ba4f82de9b6 8 #define I2C_DATA (p2)
dbartolovic 8:7ba4f82de9b6 9 #define I2C_CLK (p3)
dbartolovic 8:7ba4f82de9b6 10 #define INT_PIN1 (p10)
dbartolovic 8:7ba4f82de9b6 11 #define INT_PIN2 (p9)
dbartolovic 8:7ba4f82de9b6 12 #define ACC_POWER_PIN (p13)
dbartolovic 8:7ba4f82de9b6 13 #define RED_LED_PIN (p12)
dbartolovic 8:7ba4f82de9b6 14 #else
dbartolovic 8:7ba4f82de9b6 15 #define I2C_DATA (p20)
dbartolovic 8:7ba4f82de9b6 16 #define I2C_CLK (p17)
dbartolovic 8:7ba4f82de9b6 17 #define INT_PIN1 (p16)
dbartolovic 8:7ba4f82de9b6 18 #define INT_PIN2 (p15)
dbartolovic 8:7ba4f82de9b6 19 #define ACC_POWER_PIN (p11)
dbartolovic 8:7ba4f82de9b6 20 #define RED_LED_PIN (p31) //p22
dbartolovic 8:7ba4f82de9b6 21 #define GREEN_LED_PIN (p2)
dbartolovic 8:7ba4f82de9b6 22 #define BLUE_LED_PIN (p3)
dbartolovic 8:7ba4f82de9b6 23 #define BUZZER_PIN (p18)
dbartolovic 8:7ba4f82de9b6 24 #endif
dbartolovic 8:7ba4f82de9b6 25
dbartolovic 8:7ba4f82de9b6 26 #endif //__BSP_H__