mirror of
https://github.com/DashyFox/StackSport.git
synced 2025-06-28 05:09:32 +00:00
shooting process
This commit is contained in:
@ -31,7 +31,8 @@
|
||||
#include "Print.h"
|
||||
|
||||
#include "UART3_Handler.h"
|
||||
#include "SimpleTimer.h"
|
||||
#include "RobotFunctions.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@ -469,22 +470,9 @@ void SysTick_Handler(void)
|
||||
void EXTI0_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN EXTI0_IRQn 0 */
|
||||
// if (avto == 1)
|
||||
// {
|
||||
// if (rejim_number < rejim[0])
|
||||
// rejim_number++;
|
||||
// else
|
||||
// rejim_number = 1;
|
||||
//
|
||||
// SetServo(0, rejim[1 + (rejim_number - 1) * 6]);
|
||||
// SetServo(1, rejim[2 + (rejim_number - 1) * 6]);
|
||||
// SetServo(2, rejim[3 + (rejim_number - 1) * 6]);
|
||||
// Vz1 = rejim[4 + (rejim_number - 1) * 6];
|
||||
// Vz2 = rejim[5 + (rejim_number - 1) * 6];
|
||||
// TIM1->CCR1 = 0;
|
||||
// TIM1->CCR2 = (uint16_t)(40 * rejim[6 + (rejim_number - 1) * 6]);
|
||||
// vi = 0; // zapis grafika start
|
||||
// }
|
||||
|
||||
BallEXT();
|
||||
|
||||
/* USER CODE END EXTI0_IRQn 0 */
|
||||
HAL_GPIO_EXTI_IRQHandler(BALL_EXT_Pin);
|
||||
/* USER CODE BEGIN EXTI0_IRQn 1 */
|
||||
|
Reference in New Issue
Block a user