Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "RTG.h"
- /*
- * This example will show how to use HAL_GPIO APIs
- * by turning on/off for given leds.
- * Also how to access the GPIO registers directly.
- */
- void rtg_main() {
- HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_14);
- HAL_Delay(1000);
- //HAL_GPIO_TogglePin(GPIOG, GPIO_PIN_3);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement