How to wire-up and program a button. (digital inputs, microcontrollers) @JacobSorber
How to wire-up and program a button. (digital inputs, microcontrollers)  @JacobSorber
Uploaded May 2020 | Updated September 2026, 2 weeks ago
Patreon ➤ patreon.com/jacobsorber
Courses ➤ jacobsorber.thinkific.com
Website ➤ jacobsorber.com
---


#EmbeddedSystems
Trying to learn Embedded Systems? Ever wondered how to add a button to a microcontroller? This video shows you both how to wire it up, and how to write code to handle things like button presses. The examples in the video are for the TI MSP430FR5994, but the basic principles apply to most other microcontrollers.

Related videos:
Timers & Interrupts: youtu.be/PtTVe0zfg_M
Blink Under the Hood: youtu.be/9Zyp4sdSUNM
Blink: youtu.be/Scs3oBY7dEo
Getting Started with Embedded Systems: youtu.be/aC37UE7edP0





***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.


About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:
jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/

To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [patreon.com/jacobsorber]
+ rep the channel with nerdy merch --- [teespring.com/stores/jacob-sorbers-store]

Source code is also available to Patreon supporters. --- [jsorber-youtube-source.herokuapp.com/]
How to wire-up and program a button. (digital inputs, microcontrollers)This matters more than my next programming tutorial.How Memory Usage Slows Down Your ProgramsLets do a little image processing in CThe Multiple Paths through Embedded SystemsSetup Tips for Your Next Programming ProjectPortably print integers in C? Its more complicated than it should be.How to profile your own function calls in C? (instrument your code!)Does it matter what hash function I use? (hash table example in c)Dont write clever code.The worlds simplest malware? (Example in C)Making allocators and object pools faster using a free list
Jacob Sorber |

How to wire-up and program a button. (digital inputs, microcontrollers)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER