added functions' prototypes for compatibility with Arduino.mk
fix warnings
Makefile added
.gitignore added