Basic

Dependencies:   MQTT

LPG_Config.h

Committer:
lwtroach
Date:
2019-04-22
Revision:
1:347333bac1fb
Parent:
0:6bdfb6ccd136
Child:
2:e90526c0bcbe

File content as of revision 1:347333bac1fb:

#ifndef _LPG_CONFIG_
#define _LPG_CONFIG_
#ifdef _WISE_1570_
#define GPIO_0      PB_9
#define GPIO_1      PC_7
#define GPIO_2      PB_15
#define GPIO_3      PB_12
#define GPIO_4      PC_8
#define GPIO_5      PC_13
#define UART_TX     PC_10
#define UART_RX     PC_11
#define ADC_0       PA_1
#define ADC_1       PC_2
#define ADC_2       PC_4
#define PWM_0       PB_0
#define PWM_1       PB_1
#define I2C1_DATA   PB_11
#define I2C1_DCLK   PB_10
#define I2C0_DATA   PB_7
#define I2C0_DCLK   PB_6
#else
#define LED_1       PC_0
#define LED_2       PC_1
#define LED_3       PC_2
#define UART_TX     PC_10
#define UART_RX     PC_11
#define D_UART_TX   PA_9
#define D_UART_RX   PA_10
#endif
#endif