Also, see here: Multiple variable definition error when compiling with .h and .cpp file tabs - #6 by gfvalvo - Programming Questions - Arduino Forum