Touch pt. 1

This commit is contained in:
Attila Body 2020-02-28 15:20:22 +01:00
parent 22982db966
commit 46a5748e75
22 changed files with 3528 additions and 613 deletions

View file

@ -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 */