Fun with Subroutines
Servo Magazine (January 2019)

Fun with Subroutines

By Scott Supeck    View In Digital Edition  


Let’s face it, when it comes to designing and building a cool microcontroller project, coding is rarely on top of the “fun part” list. This article introduces the coding concept of subroutines to programmers and makers looking for creative ways of dealing with programming their microcontrollers through a recent animatronic bird project of mine. It’s a very useful technique for servo control, animation, or any program that requires multiple actions to be called upon at various times within the loop.

:::

Read This Article!
If you’re a subscriber and your subscription includes this issue of SERVO, you can read this article in our digital edition by clicking the blue "View In Digital Edition" button above.. Use the email address associated with your subscriber services account to login.

If you're a member of our Preferred Subscriber Network, not only will the magic blue button let you read this article, but EVERY article in EVERY issue is yours to enjoy! Over a decades worth of content is stored in our digital archive!

If you’re not a subscriber, you can still view a few sample pages of our digital edition or subscribe here for full digital access and/or print delivery. Also, as you browse around our site, you will find selected articles have been posted in their entirety for you to enjoy.

Downloads

201901-Supeck.zip

What’s in the zip?
Source Code



Article Comments