Experiments

This commit is contained in:
Robin Dietzel 2022-12-20 16:10:05 +01:00
parent 97191eef00
commit 050f6775d6
2 changed files with 8 additions and 2 deletions

View File

@ -7,6 +7,6 @@
// Auto generated header file containing the last git revision
#define GIT_HASH "3acf911"
#define GIT_HASH "b5cb01c"
#endif //FLOATPUMP_GIT_REVISION_TEMPLATE_H

View File

@ -78,6 +78,9 @@ int main(void) {
HAL_Delay(100);
HAL_GPIO_TogglePin(OCHAN0_GPIO_Port, OCHAN0_Pin);
HAL_Delay(2000);
// HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_0);
// HAL_Delay(1000);
// HAL_GPIO_TogglePin(GPIOA, GPIO_PIN_1);
@ -355,9 +358,12 @@ static void MX_GPIO_Init(void) {
HAL_GPIO_WritePin(GPIOA, LED2_Pin | LED3_Pin | LED4_Pin | LED5_Pin, GPIO_PIN_SET);
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOB, MPWR0_Pin | MPWR1_Pin | MPWR2_Pin | LED0_Pin
HAL_GPIO_WritePin(GPIOB, LED0_Pin
| LED1_Pin, GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOB,
MPWR0_Pin | MPWR1_Pin | MPWR2_Pin, GPIO_PIN_RESET);
/*Configure GPIO pin : XXUNUSED_Pin */
GPIO_InitStruct.Pin = XXUNUSED_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;