Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
bsp/bsp.h
- Committer:
- dbartolovic
- Date:
- 2018-03-20
- Revision:
- 8:7ba4f82de9b6
- Child:
- 19:2681edc2f2b9
- Child:
- 24:7539258b015c
File content as of revision 8:7ba4f82de9b6:
#ifndef __BSP_H__ #define __BSP_H__ #include "main.h" #if NANO_MODULE #define I2C_DATA (p2) #define I2C_CLK (p3) #define INT_PIN1 (p10) #define INT_PIN2 (p9) #define ACC_POWER_PIN (p13) #define RED_LED_PIN (p12) #else #define I2C_DATA (p20) #define I2C_CLK (p17) #define INT_PIN1 (p16) #define INT_PIN2 (p15) #define ACC_POWER_PIN (p11) #define RED_LED_PIN (p31) //p22 #define GREEN_LED_PIN (p2) #define BLUE_LED_PIN (p3) #define BUZZER_PIN (p18) #endif #endif //__BSP_H__