Touch pt. 1
This commit is contained in:
parent
22982db966
commit
46a5748e75
22 changed files with 3528 additions and 613 deletions
|
@ -29,8 +29,10 @@ extern "C" {
|
|||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "stm32f4xx_ll_crc.h"
|
||||
#include "stm32f4xx_ll_dma.h"
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "stm32f4xx_ll_spi.h"
|
||||
#include "stm32f4xx_ll_usart.h"
|
||||
#include "stm32f4xx_ll_rcc.h"
|
||||
#include "stm32f4xx.h"
|
||||
|
@ -78,6 +80,10 @@ void Error_Handler(void);
|
|||
#define LED1_GPIO_Port GPIOA
|
||||
#define LED2_Pin LL_GPIO_PIN_7
|
||||
#define LED2_GPIO_Port GPIOA
|
||||
#define PENIRQ_Pin LL_GPIO_PIN_5
|
||||
#define PENIRQ_GPIO_Port GPIOC
|
||||
#define TOUCH_CS_Pin LL_GPIO_PIN_12
|
||||
#define TOUCH_CS_GPIO_Port GPIOB
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue