Making it work

This commit is contained in:
jazzpi
2022-11-12 21:09:57 +01:00
parent 6bfe7c9fc8
commit 40e895313f
15 changed files with 5583 additions and 32 deletions

View File

@ -1,21 +1,21 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* Copyright (c) 2022 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* Copyright (c) 2022 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
@ -53,7 +53,7 @@ extern "C" {
void Error_Handler(void);
/* USER CODE BEGIN EFP */
extern volatile uint16_t range;
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/

8
Core/Inc/vl6180x_glue.h Normal file
View File

@ -0,0 +1,8 @@
#ifndef _INC_VL6180X_GLUE_H
#define _INC_VL6180X_GLUE_H
#include "stm32l4xx_hal_i2c.h"
void vl6180x_glue_init(I2C_HandleTypeDef *handle_i2c);
#endif // _INC_VL6180X_GLUE_H