Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TextLCDType lcd;
- TextLCD_Init(&lcd, LCD_RS_GPIO_Port, LCD_RS_Pin, LCD_RW_Pin, LCD_E_Pin, LCD_D0_GPIO_Port,
- (LCD_D0_Pin | LCD_D1_Pin | LCD_D2_Pin | LCD_D3_Pin | LCD_D4_Pin | LCD_D4_Pin | LCD_D5_Pin | LCD_D6_Pin | LCD_D7_Pin));
- //Start PMW, set the value to 0 at the beginning
- HAL_TIM_Base_Start(&htim10);
- HAL_TIM_PWM_Start(&htim10, TIM_CHANNEL_1);
- __HAL_TIM_SET_COMPARE(&htim10, TIM_CHANNEL_1, 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement