Add defines.h which defines pin mappings to functions