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 thoughts on “Helpful Arduino Functions”
Comments are closed.
looking forward for more information about this. thanks for sharing. Eugene
The code for Blinking an LED and Blinking a Number didn’t survive being translated into HTML — the ‘<‘ got munged in both cases.
Thanks Craig. This should be fixed now.