Fixed ugly I2CD & SPID defines

Now they may be defined in main.c
Fixed atoi() warning

Included <stdlib.h>