*.c -> *.cpp for arduino compatibility