Helpful Arduino Functions

Recently created a page in the projects area where I can post simple Arduino functions that I frequently reuse. There’s my standby for blinking a light along with code for buzzing a buzzer, smoothing some output over time, having an LED blink out a version number and a modification of the map() function that handles larger positive numbers. These should be handy for students who are starting to clean up their code with functions, or anyone avoiding wheel reinvention.

3 Comments on “Helpful Arduino Functions

  1. The code for Blinking an LED and Blinking a Number didn’t survive being translated into HTML — the ‘<‘ got munged in both cases.