gestione ciclo

This commit is contained in:
andrea
2026-04-14 11:52:48 +02:00
parent a300a1f44d
commit e2accf6ffa
102 changed files with 359942 additions and 48904 deletions

View File

@@ -13,6 +13,7 @@ void StopMot(TIM_HandleTypeDef *htim,uint32_t Channel);
void StartMot(TIM_HandleTypeDef *htim,uint32_t Channel,uint16_t pwmval);
void SetMotPwm(TIM_HandleTypeDef *htim,uint32_t Channel,uint16_t pwmval);
void SetMot(uint8_t mot,uint8_t dir,uint16_t pwmval);
void SetMotPerc(uint8_t mot,uint8_t dir,uint8_t perc);
#define timMot1 &htim2
#define FWMot1 TIM_CHANNEL_1

View File

@@ -84,7 +84,7 @@
* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
#define HSE_VALUE 12000000U /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)