Lizzy project
Dependencies: aconno_I2C Lis2dh12 adc52832_common aconno_SEGGER_RTT
Diff: bsp/bsp.h
- Revision:
- 8:7ba4f82de9b6
- Child:
- 19:2681edc2f2b9
- Child:
- 24:7539258b015c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bsp/bsp.h Tue Mar 20 15:13:51 2018 +0000 @@ -0,0 +1,25 @@ +#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__ \ No newline at end of file