Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

7. How to Output to a Pin to Blink an LED for Arm Microcontrollers – GPIO Tutorial Part 2

65.8K views on YouTube

Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1

I use the STM32CubeIDE in the book!
Get your STM32 kits at https://Newbiehack.com

I recommend using the STM32CubeIDE:
https://www.st.com/en/development-tools/stm32cubeide.html

You can still download the CoIDE here:
https://sourceforge.net/projects/coide/

This time, the GPIO control registers are set in code. The underlying concepts are explained thoroughly. The RCC Reset Clock and Control register explanation is added so that the GPIO Port C can be enabled.

Official Website:
https://newbiehack.com/

ARM Tutorials on NewbieHack.com:
https://newbiehack.com/categories/newbiehack-ARM-tutorial

Equipment that I use to make videos:
Canon EOS Rebel: http://amzn.to/2rJSeh0
Macro Lens: http://amzn.to/2qaSKmK
Microphone: http://amzn.to/2qO2RB4
3D Mouse to rotate/zoom/move the object (Must have for CAD!!!): http://amzn.to/2ruFnSn
The drafting pencil I use on these videos: http://amzn.to/2qioYg2
The cheap oscilloscope that I use (because it’s cheap and will work all of the projects in these tutorials): http://amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: http://amzn.to/2qizK5M
The brand of multimeter that I use and the one I recommend: http://amzn.to/2qicUez

Want to have your own Patreon campaign? https://patreon.com/invite/wpllxz