Compare commits

...
2 Commits
Author SHA1 Message Date
jazz bf49ffb896 add branch info 2026-09-02 14:38:18 -05:00
jazz 1fa1a0ee63 50us on time / 100us period 2026-09-02 13:49:15 -05:00
2 changed files with 8 additions and 2 deletions

No files matched your search

+2 -2
View File
@@ -192,9 +192,9 @@ static void MX_TIM2_Init(void)
/* USER CODE END TIM2_Init 1 */ /* USER CODE END TIM2_Init 1 */
htim2.Instance = TIM2; htim2.Instance = TIM2;
htim2.Init.Prescaler = 4499; htim2.Init.Prescaler = 500;
htim2.Init.CounterMode = TIM_COUNTERMODE_UP; htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
htim2.Init.Period = 14999; htim2.Init.Period = 8;
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
if (HAL_TIM_Base_Init(&htim2) != HAL_OK) if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
+6
View File
@@ -3,3 +3,9 @@
#+BEGIN_SRC bash #+BEGIN_SRC bash
bear -- make bear -- make
#+END_SRC #+END_SRC
** branches
*** Part 1
Part 1 of this lab is the the 750 millisecond pulse version, available in the [[https://git.therats.win/jazz/elab2/src/branch/][750ms]] branch.
*** Part 2
Part 2 is the the 50 microsecond pulse version, available in the [[https://git.therats.win/jazz/elab2/src/branch/50us/][50us]] branch.