Advertisement
edensheiko

Untitled

Dec 10th, 2023
870
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include "RTG.h"
  2. /*
  3.  * This example will show how to use HAL_GPIO APIs
  4.  * by turning on/off for given leds.
  5.  * Also how to access the GPIO registers directly.
  6.  */
  7. void rtg_main() {
  8.  
  9.     HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_14);
  10.     HAL_Delay(1000);
  11.  
  12.     //HAL_GPIO_TogglePin(GPIOG, GPIO_PIN_3);
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement