Arduino Lessons
![Passing Parameters and Variables by Reference in Arduino Functions](https://data-1.utreon.com/v/Mz/Ew/ZT/Div32-TzMUM/Div32-TzMUM_cover.jpg)
We have learned in earlier lessons that is it poor programming practice to use global variables. In today's lesson we learn how to pass variables and parameters to and from Arduino functions by using the pass by reference method.
![Return a Variable Value from a Function in Arduino](https://data-1.utreon.com/v/Zm/I5/OG/_2oNJvkW3W0/_2oNJvkW3W0_cover.jpg)
In this lesson we learn how to return a local variable from a function in arduino. We begin to see how to work with local variables, and how we can get local variables to and from functions.
![Understanding Arduino Local and Global Variables](https://data-1.utreon.com/v/NG/I2/NG/5Il9f0Q8LWY/5Il9f0Q8LWY_cover.jpg)
In Lesson 32 we learned how to break complicated tasks into simple chunks of code called Functions. Once we start using functions, we need to understand the difference between local variables and global variables. This videos shows you how to understand and use the right type of variables You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter
![Understanding Arduino Functions](https://data-1.utreon.com/v/NW/Iy/MG/3IL8XXH9LFI/3IL8XXH9LFI_cover.jpg)
It is much easier to code if we break a complicated task into smaller chunks of code. These smaller chunks of code are called "Functions". In this lesson we introduce you to the concept of functions and show how it allows you to write neat, modular, easy to understand code. You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter
![Understanding Arduino Arrays](https://data-1.utreon.com/v/MD/Bh/Mj/9E-C5iBoKTU/9E-C5iBoKTU_cover.jpg)
In this tutorial we learn how to declare, dimension, and use arrays and array variables with the Arduino. We do a simple averaging program to show the concept. You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter
![Advanced Software Interrupt Techniques for Reading Serial Data on Arduino](https://data-1.utreon.com/v/Nm/Ew/MD/XQH32PcjlkE/XQH32PcjlkE_cover.jpg)
This lesson shows how to use software interrupts to read serial data on the Arduino. This is demonstrated using the adafruit ultimate gps. You can follow this lesson on our WEB site at: http://www.toptechboy.com/arduino/lesson-30-advanced-software-interrupt-techniques-for-reading-serial-data-with-arduino/ The interrupt library used in this video can be found here: https://github.com/PaulStoffregen/TimerOne You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter
![Dos and Don'ts for Arduino Software Interrupts](https://data-1.utreon.com/v/M2/Nj/Mz/LE9_ZPmDe1E/LE9_ZPmDe1E_cover.jpg)
This lesson is a follow on to the tutorial in lesson 28. In today's lesson we discuss what to do and what not to do in programming software interrupts on teh Arduino. You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter
![Tutorial for Programming Software Interrupts on Arduino](https://data-1.utreon.com/v/Ym/Iy/ZT/iNgpMxHd5zw/iNgpMxHd5zw_cover.jpg)
This lesson shows you how to take your Arduino Projects to the next level by learning to incorporate software interrupts. You can find the code and links for this lesson at: http://www.toptechboy.com/arduino/arduino-lesson-28-tutorial-for-programming-software-interrupts/ You guys can help me out over at Patreon, and that will keep this high quality content coming: https://www.patreon.com/PaulMcWhorter