You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
341 B

  1. #pragma once
  2. #include "gpio.h"
  3. #define DebugLight_ON HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_RESET)
  4. #define DebugLight_OFF HAL_GPIO_WritePin(GPIOE, GPIO_PIN_2, GPIO_PIN_SET)
  5. #define DebugLight_Read HAL_GPIO_ReadPin(GPIOE, GPIO_PIN_2)
  6. #define DebugLight_Toggle HAL_GPIO_TogglePin(GPIOE, GPIO_PIN_2)
  7. void debuglightloop(void);